Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

docs(web-app): say what null and file:// in Trusted Hosts let in

James Dam0c83443ad04b
diff --git a/web-app/src/locales/en/settings.json b/web-app/src/locales/en/settings.json
index d9e7d5c91..db36c3f37 100644
--- a/web-app/src/locales/en/settings.json
+++ b/web-app/src/locales/en/settings.json
@@ -258,7 +258,7 @@
"apiKey": "API Key",
"apiKeyDesc": "Authenticate requests with an API key.",
"trustedHosts": "Trusted Hosts",
- "trustedHostsDesc": "Hosts allowed to access the server, separated by commas.",
+ "trustedHostsDesc": "Hosts allowed to access the server, separated by commas. Listing null or file:// lets pages without a normal origin (sandboxed frames on any website, local files) call the API.",
"advancedSettings": "Advanced Settings",
"cors": "Cross-Origin Resource Sharing (CORS)",
"corsDesc": "Allow cross-origin requests to the API server.",