Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,13 +6,13 @@ from linkedin_api import Linkedin
|
|
6 |
app = FastAPI()
|
7 |
|
8 |
# Enable CORS
|
9 |
-
app.add_middleware(
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
)
|
16 |
|
17 |
# Authenticate using any Linkedin account credentials
|
18 |
|
|
|
6 |
app = FastAPI()
|
7 |
|
8 |
# Enable CORS
|
9 |
+
# app.add_middleware(
|
10 |
+
# CORSMiddleware,
|
11 |
+
# allow_origins=["*"],
|
12 |
+
# allow_credentials=True,
|
13 |
+
# allow_methods=["*"],
|
14 |
+
# allow_headers=["*"],
|
15 |
+
# )
|
16 |
|
17 |
# Authenticate using any Linkedin account credentials
|
18 |
|