Skip to content

Commit

Permalink
fix: 移除mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhuapiaoyuan committed May 14, 2024
1 parent 2338226 commit c7ea156
Show file tree
Hide file tree
Showing 19 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion backend-api/backend-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func ProxyAll(r *ghttp.Request) {
if isCreateConversation {
CreateConversation(r, userId, chatgptId, userToken, r.UserAgent(), path)
} else if isLoadModels {
AttachGPT4Mobile(ctx, response)
//AttachGPT4Mobile(ctx, response)
} else if isShare {
originalBody, shouldReturn, returnValue := loadRespString(response)
if shouldReturn {
Expand Down
6 changes: 3 additions & 3 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ modules:
enable: 1

# 接入网关地址
CHATPROXY: "https://38.207.162.134:8443"
CHATPROXY: "https://38.207.162.134:8443"
#CHATPROXY: "https://chat.openai.com"
#JA3_PROXY: "http://a:[email protected]:9988"
#JA3_PROXY: "http://maidou:[email protected]:9988"
#JA3_PROXY: "http://a:[email protected]:9988"
#CHATPROXY: "http://host.docker.internal:7999"
#CHATPROXY: "https://chatgpt.ggss.club/gateway"
#ARKOSE_URL: "https://chatgpt.ggss.club/arkose/v2/"
# 接入网关的authkey
AUTHKEY: "xyhelper"
AUTHKEY: "maidou"
ONLYTOKEN: false
CDNHOST: "https://file.chatgpt.ggss.club"
ASSET_PREFIX: "https://cdn.chatgpt.ggss.club"
Expand Down
2 changes: 1 addition & 1 deletion frontend/stats.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resource/template/2E3kyHMTDQPAokpbyfwns/chat.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html data-build="prod-ebab7301ae39fe916a5e1ce6d894b31921d5d573"><head>{{.envScript}}<meta charSet="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="apple-touch-icon" sizes="180x180" href="{{.assetPrefix}}/_next/static/media/apple-touch-icon.59f2e898.png" /><link rel="icon" type="image/png" sizes="32x32" href="{{.assetPrefix}}/_next/static/media/favicon-32x32.be48395e.png" /><link rel="icon" type="image/png" sizes="16x16" href="{{.assetPrefix}}/_next/static/media/favicon-16x16.9b8dbb69.png" /><link rel="preconnect" href="{{.assetPrefix}}" /><title>ChatGPT</title><meta name="title" content="ChatGPT: Get instant answers, find inspiration, learn something new" /><meta name="description" content="ChatGPT is a free-to-use AI system. Use it for engaging conversations, gain insights, automate tasks, and witness the future of AI, all in one place." /><meta name="keywords" content="ai chat,ai,chap gpt,chat gbt,chat gpt 3,chat gpt login,chat gpt website,chat gpt,chat gtp,chat openai,chat,chatai,chatbot gpt,chatg,chatgpt login,chatgpt,gpt chat,open ai,openai chat,openai chatgpt,openai" /><meta property="og:description" content="A conversational AI system that listens, learns, and challenges" /><meta name="robots" content="index, follow" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta property="og:title" content="ChatGPT" /><meta property="og:image" content="{{.assetPrefix}}/_next/static/media/chatgpt-share-og.49cbbffe.png" /><meta property="og:url" content="https://chat.openai.com" /><meta name="apple-itunes-app" content="app-id=6448311069" /><meta name="next-head-count" content="17" /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-buch.13189857.woff2" as="font" crossorigin /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-halbfett.977f1845.woff2" as="font" crossorigin /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-kraftig.204b461c.woff2" as="font" crossorigin /><link data-next-font rel="preconnect" href="/" crossorigin="anonymous" /><link rel="preload" href="{{.assetPrefix}}/_next/static/css/36b239ea9ae3fe6f.css?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" as="style" crossorigin="anonymous" /><link rel="stylesheet" href="{{.assetPrefix}}/_next/static/css/36b239ea9ae3fe6f.css?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" crossorigin="anonymous" data-n-g /><noscript data-n-css></noscript><script defer crossorigin="anonymous" nomodule src="{{.assetPrefix}}/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573"></script><script src="{{.assetPrefix}}/_next/static/chunks/webpack-45251c5a1c1bca31.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/framework-fee4e2f3f1e6de63.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/vendor-d20d1ccf655ca616.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/main-c5c262a33e3f13d2.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/pages/_app-04f6e3865d514245.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/pages/%5B%5B...default%5D%5D-90ded11723904f66.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/2E3kyHMTDQPAokpbyfwns/_buildManifest.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/2E3kyHMTDQPAokpbyfwns/_ssgManifest.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script></head><body class="antialiased"><div id="__next"><script>!function(){try{var d=document.documentElement,c=d.classList;c.remove('light','dark');var e=localStorage.getItem('theme');if('system'===e||(!e&&true)){var t='(prefers-color-scheme: dark)',m=window.matchMedia(t);if(m.media!==t||m.matches){d.style.colorScheme = 'dark';c.add('dark')}else{d.style.colorScheme = 'light';c.add('light')}}else if(e){c.add(e|| '')}if(e==='light'||e==='dark')d.style.colorScheme=e}catch(e){}}()</script><div class="relative z-0 flex h-full w-full overflow-hidden"><div class="relative flex h-full max-w-full flex-1 flex-col overflow-hidden"><main class="relative h-full w-full flex-1 overflow-auto transition-width"></main></div></div><div class="absolute left-0 right-0 top-0 z-[2]"></div><audio class="fixed bottom-0 left-0 hidden h-0 w-0" autoplay crossorigin="anonymous"></audio></div><script id="__NEXT_DATA__" type="application/json" crossorigin="anonymous">{{.props}}</script></body></html>
1 change: 1 addition & 0 deletions resource/template/2E3kyHMTDQPAokpbyfwns/discovery.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html data-build="prod-ebab7301ae39fe916a5e1ce6d894b31921d5d573"><head>{{.envScript}}<meta charSet="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="apple-touch-icon" sizes="180x180" href="{{.assetPrefix}}/_next/static/media/apple-touch-icon.59f2e898.png" /><link rel="icon" type="image/png" sizes="32x32" href="{{.assetPrefix}}/_next/static/media/favicon-32x32.be48395e.png" /><link rel="icon" type="image/png" sizes="16x16" href="{{.assetPrefix}}/_next/static/media/favicon-16x16.9b8dbb69.png" /><link rel="preconnect" href="{{.assetPrefix}}" /><title>ChatGPT</title><meta name="title" content="ChatGPT: Get instant answers, find inspiration, learn something new" /><meta name="description" content="ChatGPT is a free-to-use AI system. Use it for engaging conversations, gain insights, automate tasks, and witness the future of AI, all in one place." /><meta name="keywords" content="ai chat,ai,chap gpt,chat gbt,chat gpt 3,chat gpt login,chat gpt website,chat gpt,chat gtp,chat openai,chat,chatai,chatbot gpt,chatg,chatgpt login,chatgpt,gpt chat,open ai,openai chat,openai chatgpt,openai" /><meta property="og:description" content="A conversational AI system that listens, learns, and challenges" /><meta name="robots" content="index, follow" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta property="og:title" content="ChatGPT" /><meta property="og:image" content="{{.assetPrefix}}/_next/static/media/chatgpt-share-og.49cbbffe.png" /><meta property="og:url" content="https://chat.openai.com" /><meta name="apple-itunes-app" content="app-id=6448311069" /><meta name="next-head-count" content="17" /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-buch.13189857.woff2" as="font" crossorigin /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-halbfett.977f1845.woff2" as="font" crossorigin /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-kraftig.204b461c.woff2" as="font" crossorigin /><link data-next-font rel="preconnect" href="/" crossorigin="anonymous" /><link rel="preload" href="{{.assetPrefix}}/_next/static/css/36b239ea9ae3fe6f.css?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" as="style" crossorigin="anonymous" /><link rel="stylesheet" href="{{.assetPrefix}}/_next/static/css/36b239ea9ae3fe6f.css?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" crossorigin="anonymous" data-n-g /><noscript data-n-css></noscript><script defer crossorigin="anonymous" nomodule src="{{.assetPrefix}}/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573"></script><script src="{{.assetPrefix}}/_next/static/chunks/webpack-45251c5a1c1bca31.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/framework-fee4e2f3f1e6de63.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/vendor-d20d1ccf655ca616.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/main-c5c262a33e3f13d2.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/pages/_app-04f6e3865d514245.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/pages/gpts-01e448e3dd57adb8.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/2E3kyHMTDQPAokpbyfwns/_buildManifest.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/2E3kyHMTDQPAokpbyfwns/_ssgManifest.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script></head><body class="antialiased"><div id="__next"><script>!function(){try{var d=document.documentElement,c=d.classList;c.remove('light','dark');var e=localStorage.getItem('theme');if('system'===e||(!e&&true)){var t='(prefers-color-scheme: dark)',m=window.matchMedia(t);if(m.media!==t||m.matches){d.style.colorScheme = 'dark';c.add('dark')}else{d.style.colorScheme = 'light';c.add('light')}}else if(e){c.add(e|| '')}if(e==='light'||e==='dark')d.style.colorScheme=e}catch(e){}}()</script><div class="absolute left-0 right-0 top-0 z-[2]"></div><audio class="fixed bottom-0 left-0 hidden h-0 w-0" autoplay crossorigin="anonymous"></audio></div><script id="__NEXT_DATA__" type="application/json" crossorigin="anonymous">{{.props}}</script></body></html>
1 change: 1 addition & 0 deletions resource/template/2E3kyHMTDQPAokpbyfwns/editor.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html><html data-build="prod-ebab7301ae39fe916a5e1ce6d894b31921d5d573"><head>{{.envScript}}<meta charSet="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="apple-touch-icon" sizes="180x180" href="{{.assetPrefix}}/_next/static/media/apple-touch-icon.59f2e898.png" /><link rel="icon" type="image/png" sizes="32x32" href="{{.assetPrefix}}/_next/static/media/favicon-32x32.be48395e.png" /><link rel="icon" type="image/png" sizes="16x16" href="{{.assetPrefix}}/_next/static/media/favicon-16x16.9b8dbb69.png" /><link rel="preconnect" href="{{.assetPrefix}}" /><title>ChatGPT</title><meta name="title" content="ChatGPT: Get instant answers, find inspiration, learn something new" /><meta name="description" content="ChatGPT is a free-to-use AI system. Use it for engaging conversations, gain insights, automate tasks, and witness the future of AI, all in one place." /><meta name="keywords" content="ai chat,ai,chap gpt,chat gbt,chat gpt 3,chat gpt login,chat gpt website,chat gpt,chat gtp,chat openai,chat,chatai,chatbot gpt,chatg,chatgpt login,chatgpt,gpt chat,open ai,openai chat,openai chatgpt,openai" /><meta property="og:description" content="A conversational AI system that listens, learns, and challenges" /><meta name="robots" content="index, follow" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta property="og:title" content="ChatGPT" /><meta property="og:image" content="{{.assetPrefix}}/_next/static/media/chatgpt-share-og.49cbbffe.png" /><meta property="og:url" content="https://chat.openai.com" /><meta name="apple-itunes-app" content="app-id=6448311069" /><meta name="next-head-count" content="17" /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-buch.13189857.woff2" as="font" crossorigin /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-halbfett.977f1845.woff2" as="font" crossorigin /><link rel="preload" href="{{.assetPrefix}}/_next/static/media/soehne-kraftig.204b461c.woff2" as="font" crossorigin /><link data-next-font rel="preconnect" href="/" crossorigin="anonymous" /><link rel="preload" href="{{.assetPrefix}}/_next/static/css/36b239ea9ae3fe6f.css?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" as="style" crossorigin="anonymous" /><link rel="stylesheet" href="{{.assetPrefix}}/_next/static/css/36b239ea9ae3fe6f.css?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" crossorigin="anonymous" data-n-g /><noscript data-n-css></noscript><script defer crossorigin="anonymous" nomodule src="{{.assetPrefix}}/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573"></script><script src="{{.assetPrefix}}/_next/static/chunks/webpack-45251c5a1c1bca31.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/framework-fee4e2f3f1e6de63.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/vendor-d20d1ccf655ca616.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/main-c5c262a33e3f13d2.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/pages/_app-04f6e3865d514245.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/chunks/pages/gpts/editor-53153ea7669099f0.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/2E3kyHMTDQPAokpbyfwns/_buildManifest.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script><script src="{{.assetPrefix}}/_next/static/2E3kyHMTDQPAokpbyfwns/_ssgManifest.js?dpl=ebab7301ae39fe916a5e1ce6d894b31921d5d573" defer crossorigin="anonymous"></script></head><body class="antialiased"><div id="__next"><script>!function(){try{var d=document.documentElement,c=d.classList;c.remove('light','dark');var e=localStorage.getItem('theme');if('system'===e||(!e&&true)){var t='(prefers-color-scheme: dark)',m=window.matchMedia(t);if(m.media!==t||m.matches){d.style.colorScheme = 'dark';c.add('dark')}else{d.style.colorScheme = 'light';c.add('light')}}else if(e){c.add(e|| '')}if(e==='light'||e==='dark')d.style.colorScheme=e}catch(e){}}()</script><div class="absolute left-0 right-0 top-0 z-[2]"></div><audio class="fixed bottom-0 left-0 hidden h-0 w-0" autoplay crossorigin="anonymous"></audio></div><script id="__NEXT_DATA__" type="application/json" crossorigin="anonymous">{{.props}}</script></body></html>
Loading

0 comments on commit c7ea156

Please sign in to comment.