devranx commited on
Commit
4d16b73
·
1 Parent(s): a83e395

Disable CSRF for HF Spaces

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -19,4 +19,4 @@ EXPOSE 7860
19
 
20
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
21
 
22
- ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
 
19
 
20
  HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
21
 
22
+ ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]