File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1616# SECURITY WARNING: don't run with debug turned on in production!
1717DEBUG = os .getenv ("DEBUG" , "False" ) == "True"
1818
19+ LLMSTACK_PORT = os .getenv ("LLMSTACK_PORT" , 3000 )
20+ LLMSTACK_HOST = os .getenv ("LLMSTACK_HOST" , "localhost" )
21+
1922ALLOWED_HOSTS = os .getenv (
2023 "ALLOWED_HOSTS" ,
21- "127.0.0.1,localhost" ,
24+ f "127.0.0.1,localhost, { LLMSTACK_HOST } " ,
2225).split ("," )
2326
24- LLMSTACK_PORT = os .getenv ("LLMSTACK_PORT" , 3000 )
2527
2628RUNNER_HOST = os .getenv ("RUNNER_HOST" )
2729RUNNER_PORT = os .getenv ("RUNNER_PORT" )
3032
3133CSRF_TRUSTED_ORIGINS = os .getenv (
3234 "CSRF_TRUSTED_ORIGINS" ,
33- f"http://127.0.0.1: { LLMSTACK_PORT } ,http://localhost :{ LLMSTACK_PORT } " ,
35+ f"http://{ LLMSTACK_HOST } :{ LLMSTACK_PORT } " ,
3436).split ("," )
3537
3638STATIC_ROOT = os .path .join (BASE_DIR , "static" )
You can’t perform that action at this time.
0 commit comments