Skip to content

Commit b69b775

Browse files
committed
feat: default dev port to 8000
1 parent e5201f4 commit b69b775

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,6 @@ def download_ics():
205205

206206
if __name__ == "__main__":
207207
# Run the application on the local development server
208-
app.run()
208+
app.run(host="0.0.0.0", port=8000)
209209

210210
# flask --app app.py run

frontend/src/components/url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const BACKEND_URL = import.meta.env.PROD
22
? "https://gyft-api.metakgp.org"
3-
: "http://127.0.0.1:5000";
3+
: "http://127.0.0.1:8000";

wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from app import app
22

33
if __name__ == "__main__":
4-
app.run()
4+
app.run(host="0.0.0.0", port=8000)

0 commit comments

Comments
 (0)