You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
抱歉我想询问一下当我部署完成ui部分访问127.0.0.1:5000可以访问,但是当我在修改server.Py文件中的app.run()为host='127.0.0.1',port=5000,debug=True并且执行server.py文件之后127.0.0.1:5000就显示Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.是什么原因呢万分感谢
The text was updated successfully, but these errors were encountered:
前后段是分离的,如果前端直接npm start跑在127.0.0.1:5000,那么后端可以配置成127.0.0.1:6000,并在前端中/ui/src/CameraSection.js中指定serverAddr=127.0.0.1:6000。如果前端想和后端都部署在5000端口,需要先编译前端:npm run build,然后把build目录下的前端文件都移到server下
抱歉我想询问一下当我部署完成ui部分访问127.0.0.1:5000可以访问,但是当我在修改server.Py文件中的app.run()为host='127.0.0.1',port=5000,debug=True并且执行server.py文件之后127.0.0.1:5000就显示Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.是什么原因呢万分感谢
The text was updated successfully, but these errors were encountered: