Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ app = FastAPI()
|
|
10 |
# Allow CORS for your Bubble frontend
|
11 |
app.add_middleware(
|
12 |
CORSMiddleware,
|
13 |
-
allow_origins=['https://
|
14 |
allow_methods=['POST'],
|
15 |
allow_headers=['*'],
|
16 |
allow_credentials=True,
|
@@ -33,7 +33,7 @@ async def set_token(payload: TokenIn, response: Response):
|
|
33 |
httponly=True,
|
34 |
secure=True,
|
35 |
samesite='none',
|
36 |
-
domain='
|
37 |
max_age=3600,
|
38 |
path='/'
|
39 |
)
|
|
|
10 |
# Allow CORS for your Bubble frontend
|
11 |
app.add_middleware(
|
12 |
CORSMiddleware,
|
13 |
+
allow_origins=['https://app.ingaze.ai'], # Replace with your actual Bubble app domain
|
14 |
allow_methods=['POST'],
|
15 |
allow_headers=['*'],
|
16 |
allow_credentials=True,
|
|
|
33 |
httponly=True,
|
34 |
secure=True,
|
35 |
samesite='none',
|
36 |
+
domain='GuglielmoTor--LinkedinMonitor.hf.space', # Replace with your actual domain if needed
|
37 |
max_age=3600,
|
38 |
path='/'
|
39 |
)
|