mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-25 07:23:47 +00:00
Added es-ES (#1989)
* Additional English translations Provide an English version of the readme, and add a few translations that were missing elsewhere * Use browser language by default * Support 'en' and 'vi' as languages * Fixed: Browserslist: caniuse-lite is outdated. Full message was: Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme * Added es-ES These changes were originally from https://github.com/rasta26/chatgpt-web although I did tweak the translations a bit. --------- Co-authored-by: Ed Burnette <ed.burnette@hiddenmind.ai>
This commit is contained in:
@@ -4,7 +4,7 @@ server {
|
||||
charset utf-8;
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
|
||||
# 防止爬虫抓取
|
||||
# Prevent crawlers from crawling
|
||||
if ($http_user_agent ~* "360Spider|JikeSpider|Spider|spider|bot|Bot|2345Explorer|curl|wget|webZIP|qihoobot|Baiduspider|Googlebot|Googlebot-Mobile|Googlebot-Image|Mediapartners-Google|Adsbot-Google|Feedfetcher-Google|Yahoo! Slurp|Yahoo! Slurp China|YoudaoBot|Sosospider|Sogou spider|Sogou web spider|MSNBot|ia_archiver|Tomato Bot|NSPlayer|bingbot")
|
||||
{
|
||||
return 403;
|
||||
@@ -16,7 +16,7 @@ server {
|
||||
}
|
||||
|
||||
location /api {
|
||||
proxy_set_header X-Real-IP $remote_addr; #转发用户IP
|
||||
proxy_set_header X-Real-IP $remote_addr; #Forward user IP
|
||||
proxy_pass http://app:3002;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user