Skip to content

Commit

Permalink
fix(server): fix access in app.py (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanhuanO authored and lwaekfjlk committed Aug 1, 2024
1 parent 4865d54 commit 4c45c4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "gpu-bartender",
"version": "1.0.0",
"description": "",
"main": "server.js",
"main": "src/main.ts",
"scripts": {
"build": "webpack --mode production",
"start": "ts-node server.ts"
"start": "ts-node main.ts"
},
"keywords": [],
"author": "",
Expand All @@ -24,5 +23,6 @@
"typescript": "^4.9.5",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4"
}
},
"description": ""
}
2 changes: 1 addition & 1 deletion gpu_bartender/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ def serve(path):
return send_from_directory(app.static_folder, 'index.html')

if __name__ == '__main__':
app.run(debug=True, host='localhost', port=3000)
app.run(debug=True, host='0.0.0.0', port=3000)

0 comments on commit 4c45c4c

Please sign in to comment.