Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit 7d74347

Browse files
deploy
1 parent ad26ac6 commit 7d74347

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mch-api @ git+https://github.com/opencdms/mch-api.git@main
1616
mysqlclient
1717
numpy
1818
opencdms @ git+https://github.com/opencdms/pyopencdms.git@main
19-
climsoft_api @ git+https://github.com/faysal-ishtiaq/climsoft-api.git@opencdms-api-42
19+
climsoft_api @ git+https://github.com/openclimateinitiative/climsoft-api.git@main
2020
pandas
2121
psycopg2
2222
pydantic

src/opencdms_api/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ def get_app():
4141

4242
if settings.SURFACE_API_ENABLED is True:
4343
surface_wsgi_app = WSGIMiddleware(surface_application)
44-
if not settings.AUTH_ENABLED:
45-
app.mount("/surface", surface_wsgi_app)
46-
else:
47-
app.mount("/surface", AuthMiddleWare(surface_wsgi_app))
44+
# if not settings.AUTH_ENABLED:
45+
app.mount("/surface", surface_wsgi_app)
46+
# else:
47+
# app.mount("/surface", AuthMiddleWare(surface_wsgi_app))
4848

4949
if settings.MCH_API_ENABLED is True:
5050
mch_wsgi_app = WSGIMiddleware(mch_api_application)

0 commit comments

Comments
 (0)