Skip to content

Commit de0458a

Browse files
authored
fix cross origin bullshit (#340)
1 parent 1f2267c commit de0458a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.streamlit/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ developmentMode = false
88
address = "0.0.0.0"
99
maxUploadSize = 200 #MB
1010
port = 8501 # should be same as configured in deployment repo
11+
address = "0.0.0.0"
12+
enableCORS = false
13+
enableXsrfProtection = false
14+
1115

1216
[theme]
1317
# The preset Streamlit theme that your custom theme inherits from. One of "light" or "dark".

0 commit comments

Comments
 (0)