Skip to content

Commit 77499c5

Browse files
author
user
committed
temporary revert
1 parent e2f0250 commit 77499c5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

example/pythonlib/web/2-todo-flask/build.mill

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ object todo extends PythonModule {
2727
// This example also utilizes **Mill** for managing `dependencies`, `builds`, and `tests`,
2828
// offering an efficient development workflow.
2929

30-
// The app is ready to serve at `http://localhost:$PORT`.
30+
// The app is ready to serve at `http://localhost:5001`.
3131

3232
/** Usage
3333

@@ -56,7 +56,7 @@ OK
5656

5757
> ./mill todo.runBackground
5858

59-
> curl http://localhost:$PORT
59+
> curl http://localhost:5001
6060
...What needs to be done...
6161

6262
> ./mill clean todo.runBackground

example/pythonlib/web/2-todo-flask/todo/src/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,4 @@ def toggle_all(state):
9393

9494

9595
if __name__ == "__main__":
96-
port = os.environ['PORT']
97-
app.run(debug=True, port=port)
98-
96+
app.run(debug=True, port=5001)

0 commit comments

Comments
 (0)