Skip to content

Commit

Permalink
Reverted dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhellander committed Nov 30, 2023
1 parent e180369 commit 4d76530
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fedn/fedn/network/dashboard/restservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from fedn.network.state import ReducerState, ReducerStateToString
from fedn.utils.checksum import sha

UPLOAD_FOLDER = "./"
UPLOAD_FOLDER = "/app/client/package/"
ALLOWED_EXTENSIONS = {"gz", "bz2", "tar", "zip", "tgz"}


Expand Down Expand Up @@ -1181,7 +1181,7 @@ def infer():
bind = "0.0.0.0"
else:
bind = self.host
print(self.port)
app.run(host=bind, port=8900)

app.run(host=bind, port=self.port)

return app

0 comments on commit 4d76530

Please sign in to comment.