Skip to content

Commit

Permalink
Dynamically setting the port
Browse files Browse the repository at this point in the history
  • Loading branch information
rjjfox committed Nov 18, 2020
1 parent 6448894 commit c170dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
@@ -4,6 +4,6 @@ email = \"ryanfox212@gmail.com\"
" > ~/.streamlit/credentials.toml
echo "[server]
headless = true
port = $PORT
port = process.env.PORT
enableCORS = false
" > ~/.streamlit/config.toml

0 comments on commit c170dd5

Please sign in to comment.