mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-20 13:05:49 +02:00
Go back to localhost:3000
This commit is contained in:
@@ -27,7 +27,10 @@ DISABLE_GENERATIVE_AI = os.environ.get("DISABLE_GENERATIVE_AI", "").lower() == "
|
|||||||
# Web Configs
|
# Web Configs
|
||||||
#####
|
#####
|
||||||
# WEB_DOMAIN is used to set the redirect_uri after login flows
|
# WEB_DOMAIN is used to set the redirect_uri after login flows
|
||||||
WEB_DOMAIN = os.environ.get("WEB_DOMAIN") or "http://127.0.0.1:3000"
|
# NOTE: if you are having problems accessing the Danswer web UI locally (especially
|
||||||
|
# on Windows, try setting this to `http://127.0.0.1:3000` instead and see if that
|
||||||
|
# fixes it)
|
||||||
|
WEB_DOMAIN = os.environ.get("WEB_DOMAIN") or "http://localhost:3000"
|
||||||
|
|
||||||
|
|
||||||
#####
|
#####
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Could be something like danswer.companyname.com
|
# Could be something like danswer.companyname.com
|
||||||
WEB_DOMAIN=http://127.0.0.1:3000
|
WEB_DOMAIN=http://localhost:3000
|
||||||
|
|
||||||
|
|
||||||
# Generative AI settings, uncomment as needed, will work with defaults
|
# Generative AI settings, uncomment as needed, will work with defaults
|
||||||
|
@@ -69,5 +69,5 @@ data:
|
|||||||
LOG_VESPA_TIMING_INFORMATION: ""
|
LOG_VESPA_TIMING_INFORMATION: ""
|
||||||
# Shared or Non-backend Related
|
# Shared or Non-backend Related
|
||||||
INTERNAL_URL: "http://api-server-service:80" # for web server
|
INTERNAL_URL: "http://api-server-service:80" # for web server
|
||||||
WEB_DOMAIN: "http://127.0.0.1:3000" # for web server and api server
|
WEB_DOMAIN: "http://localhost:3000" # for web server and api server
|
||||||
DOMAIN: "localhost" # for nginx
|
DOMAIN: "localhost" # for nginx
|
||||||
|
@@ -17,4 +17,7 @@ yarn dev
|
|||||||
pnpm dev
|
pnpm dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Open [http://127.0.0.1:3000](http://127.0.0.1:3000) with your browser to see the result.
|
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
||||||
|
|
||||||
|
*Note:* if you are having problems accessing the ^, try setting the `WEB_DOMAIN` env variable to
|
||||||
|
`http://127.0.0.1:3000` and accessing it there.
|
||||||
|
Reference in New Issue
Block a user