Update main.py
Browse files
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()
|