Skip to content

Commit

Permalink
Change app mount again to valis-lvmvis-api
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-katkov committed Jul 25, 2024
1 parent 83e1048 commit c0e92a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/valis/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_settings():
app = FastAPI(title='Valis', description='The SDSS API', version=valis.__version__,
openapi_tags=tags_metadata, dependencies=[])
# submount app to allow for production /valis location
app.mount("/valis-lvmvis", app)
app.mount("/valis-lvmvis-api", app)

# add CORS for cross-domain, for any sdss.org or sdss.utah.edu domain
app.add_middleware(CORSMiddleware, allow_origin_regex="^https?://.*\.sdss5?\.(org|utah\.edu)(/zora/)?$",
Expand Down

0 comments on commit c0e92a2

Please sign in to comment.