Mythus commited on
Commit
ecdcde8
·
verified ·
1 Parent(s): dcb41cd

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +4 -1
run.py CHANGED
@@ -1,3 +1,6 @@
1
  from fastapi_proxy_lib.fastapi.app import reverse_http_app
2
 
3
- app = reverse_http_app(base_url="http://www.example.com/foo/")
 
 
 
 
1
  from fastapi_proxy_lib.fastapi.app import reverse_http_app
2
 
3
+ app = reverse_http_app(base_url="http://www.example.com/foo/")
4
+ if __name__ == '__main__':
5
+ import uvicorn
6
+ uvicorn.run("run:app", host="0.0.0.0", port="8080")