Skip to content

Commit 6747f79

Browse files
committed
feat: UI升级
1 parent 11367be commit 6747f79

40 files changed

+3287
-276
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ https://bing.github1s.tk
4949
- [x] 支持语音输出(需要手动开启)
5050
- [x] 支持图片输入
5151
- [x] 支持自定义域名
52+
- [x] 支持离线访问
5253
- [ ] 支持历史记录
5354
- [ ] 适配深色模式
5455
- [ ] 支持内置提示词
55-
- [ ] 支持离线访问
5656
- [ ] 国际化翻译
5757

5858
## 一键部署
@@ -134,7 +134,7 @@ docker run --rm -it -e BING_HEADER=xxxx -p 7860:7860 weaigc/bingo
134134

135135
![BING HEADER](./docs/images/curl.png)
136136

137-
> 复制出来的内容应该如下所示。确认格式无误后,打开 https://effulgent-bubblegum-e2f5df.netlify.app/#dialog=%22settings%22 ,粘贴进去,点击“转成 BING_HEADER 并复制”,然后从剪切板粘贴即可得到。(你也可以先在网页上进行验证)
137+
> 复制出来的内容应该如下所示。确认格式无误后,打开 https://hf4all-bingo.hf.space/#dialog=%22settings%22 ,粘贴进去,点击“转成 BING_HEADER 并复制”,然后从剪切板粘贴即可得到。(你也可以先在网页上进行验证)
138138
139139
以下是格式参考,需要注意的是,网页端保存的格式是以`curl`开头, 而服务端配置的 `BING_HEADER``base64` 格式,两者不能互通。
140140
<details>
@@ -187,7 +187,7 @@ Y3VybCAnaHR0cHM6Ly93d3cuYmluZy5jb20vdHVyaW5nL2NvbnZlcnNhdGlvbi9jcmVhdGUnIFwgICAt
187187

188188
## 答疑及交流
189189

190-
<image src="./docs/images/wechat.png" width=240 />
190+
<image src="./docs/images/wechat.jpg" width=240 />
191191

192192
## License
193193

docs/images/wechat.jpg

143 KB
Loading

docs/images/wechat.png

-141 KB
Binary file not shown.

next.config.js

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/** @type {import('next').NextConfig} */
2+
23
const nextConfig = {
3-
// output: 'export',
4-
// assetPrefix: '.',
54
webpack: (config, { isServer }) => {
65
if (!isServer) {
76
config.resolve = {
@@ -27,6 +26,11 @@ const nextConfig = {
2726
}
2827
};
2928
}
29+
config.module.rules.push({
30+
test: /\.svg$/i,
31+
issuer: /\.[jt]sx?$/,
32+
use: ['@svgr/webpack'],
33+
})
3034
config.module.exprContextCritical = false;
3135

3236
return config;

0 commit comments

Comments
 (0)