Skip to content

Commit

Permalink
feat(WIP): UI升级
Browse files Browse the repository at this point in the history
  • Loading branch information
weaigc committed Aug 23, 2023
1 parent 11367be commit 5d82346
Show file tree
Hide file tree
Showing 38 changed files with 3,269 additions and 271 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ https://bing.github1s.tk
- [x] 支持语音输出(需要手动开启)
- [x] 支持图片输入
- [x] 支持自定义域名
- [x] 支持离线访问
- [ ] 支持历史记录
- [ ] 适配深色模式
- [ ] 支持内置提示词
- [ ] 支持离线访问
- [ ] 国际化翻译

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

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

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

## 答疑及交流

<image src="./docs/images/wechat.png" width=240 />
<image src="./docs/images/wechat.jpg" width=240 />

## License

Expand Down
Binary file added docs/images/wechat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/images/wechat.png
Binary file not shown.
8 changes: 6 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/** @type {import('next').NextConfig} */

const nextConfig = {
// output: 'export',
// assetPrefix: '.',
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve = {
Expand All @@ -27,6 +26,11 @@ const nextConfig = {
}
};
}
config.module.rules.push({
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack'],
})
config.module.exprContextCritical = false;

return config;
Expand Down
Loading

0 comments on commit 5d82346

Please sign in to comment.