ka1kuk commited on
Commit
1ebd440
1 Parent(s): a700ace

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -1,5 +1,6 @@
1
  from fastapi import FastAPI
2
  from starlette.responses import JSONResponse
 
3
  from openvpn_api import VPN
4
 
5
  app = FastAPI()
 
1
  from fastapi import FastAPI
2
  from starlette.responses import JSONResponse
3
+ from fastapi.middleware.cors import CORSMiddleware
4
  from openvpn_api import VPN
5
 
6
  app = FastAPI()