diff --git a/cloudflare/worker.js b/cloudflare/worker.js index e03d324b89..a78997050c 100644 --- a/cloudflare/worker.js +++ b/cloudflare/worker.js @@ -80,7 +80,7 @@ const home = async (pathname) => { let url; // if (pathname.startsWith('/github/')) { if (pathname.indexOf('/github/') === 0) { - url = pathname.replace('/github/', 'https://raw.githubusercontent.com/adams549659584/go-proxy-bingai/master/'); + url = pathname.replace('/github/', baseUrl); } else { url = baseUrl + 'cloudflare/index.html'; } diff --git a/frontend/package.json b/frontend/package.json index 9b7d7c6997..629703a284 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "go-proxy-bingai", - "version": "1.8.3", + "version": "1.8.4", "private": true, "scripts": { "dev": "vite", diff --git a/frontend/src/components/ChatNav/ChatNav.vue b/frontend/src/components/ChatNav/ChatNav.vue index 433630aff5..1bbf983b92 100644 --- a/frontend/src/components/ChatNav/ChatNav.vue +++ b/frontend/src/components/ChatNav/ChatNav.vue @@ -134,10 +134,10 @@ const saveUserToken = () => {