Skip to content

Commit

Permalink
fix: 🐛 撰写的聊天服务器使用主页选择的
Browse files Browse the repository at this point in the history
  • Loading branch information
adams549659584 committed May 25, 2023
1 parent 2ac1003 commit 6f14aa6
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
@@ -1,6 +1,6 @@
{
"name": "go-proxy-bingai",
"version": "1.8.0",
"version": "1.8.1",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
7 changes: 7 additions & 0 deletions frontend/public/compose.html
Expand Up @@ -2685,6 +2685,13 @@
//]]></script></div>
<script type="text/javascript">//<![CDATA[
_G.HT = new Date;
const chatStoreStr = localStorage.getItem('chat-store');
let sydneyBaseUrl;
if (chatStoreStr) {
const chatStore = JSON.parse(chatStoreStr);
sydneyBaseUrl = chatStore.selectedSydneyBaseUrl;
}
CIB.config.sydney.baseUrl = sydneyBaseUrl || 'https://sydney.vcanbb.chat';
//]]></script>
</body>

Expand Down
4 changes: 2 additions & 2 deletions web/assets/index-42c5a3ca.js → web/assets/index-04c94bf5.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions web/compose.html
Expand Up @@ -2685,6 +2685,13 @@
//]]></script></div>
<script type="text/javascript">//<![CDATA[
_G.HT = new Date;
const chatStoreStr = localStorage.getItem('chat-store');
let sydneyBaseUrl;
if (chatStoreStr) {
const chatStore = JSON.parse(chatStoreStr);
sydneyBaseUrl = chatStore.selectedSydneyBaseUrl;
}
CIB.config.sydney.baseUrl = sydneyBaseUrl || 'https://sydney.vcanbb.chat';
//]]></script>
</body>

Expand Down
2 changes: 1 addition & 1 deletion web/index.html
Expand Up @@ -37,7 +37,7 @@
<script src="/web/js/bing/chat/global.js"></script>
<script src="/web/js/bing/chat/amd.js"></script>
<script src="/web/js/bing/chat/config.js"></script>
<script type="module" crossorigin src="/web/assets/index-0d955cfa.js"></script>
<script type="module" crossorigin src="/web/assets/index-2d8e434e.js"></script>
<link rel="stylesheet" href="/web/assets/index-cdc6de84.css">
<link rel="manifest" href="/web/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/web/registerSW.js"></script></head>

Expand Down
2 changes: 1 addition & 1 deletion web/sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit 6f14aa6

@vercel
Copy link

@vercel vercel bot commented on 6f14aa6 May 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.