Spaces:
Sleeping
Sleeping
ffreemt
commited on
Commit
·
436dfc5
1
Parent(s):
9942045
Update .env PORT=5000
Browse files- .env +1 -1
- duck2api_fwd.py +2 -0
.env
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
SERVER_HOST=127.0.0.1
|
2 |
-
SERVER_PORT=
|
3 |
FREE_ACCOUNTS=true
|
4 |
FREE_ACCOUNTS_NUM=1024
|
5 |
Authorization=
|
|
|
1 |
SERVER_HOST=127.0.0.1
|
2 |
+
SERVER_PORT=5000
|
3 |
FREE_ACCOUNTS=true
|
4 |
FREE_ACCOUNTS_NUM=1024
|
5 |
Authorization=
|
duck2api_fwd.py
CHANGED
@@ -33,6 +33,8 @@ PORT = os.getenv("PORT")
|
|
33 |
if not PORT:
|
34 |
PORT = 8088
|
35 |
|
|
|
|
|
36 |
y(PORT)
|
37 |
|
38 |
app = Flask(__name__)
|
|
|
33 |
if not PORT:
|
34 |
PORT = 8088
|
35 |
|
36 |
+
PORT = 5000
|
37 |
+
|
38 |
y(PORT)
|
39 |
|
40 |
app = Flask(__name__)
|