change cors headers
This commit is contained in:
@@ -18,11 +18,11 @@ app = Flask(__name__)
|
|||||||
cors = CORS(app, resources={
|
cors = CORS(app, resources={
|
||||||
r"/api/*": {
|
r"/api/*": {
|
||||||
"origins": [
|
"origins": [
|
||||||
|
"https://pitajramizu.com",
|
||||||
"http://localhost:5173",
|
"http://localhost:5173",
|
||||||
"http://pitajramizu.com",
|
"http://pitajramizu.com",
|
||||||
"http://www.pitajramizu.com",
|
"http://www.pitajramizu.com",
|
||||||
"https://c50a-77-77-231-127.ngrok-free.app"
|
"https://c50a-77-77-231-127.ngrok-free.app"
|
||||||
"https://pitajramizu.com",
|
|
||||||
"https://www.pitajramizu.com",
|
"https://www.pitajramizu.com",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user