Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Swagger when running on a virtual root (not '/') #98

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

andrejpk
Copy link

Swagger always tries to use the API definition from /api/ even if the app is hosted in a virtual root. This PR adds the vroot path to the API definition location so this works correctly.

I built this against a 4.7 branch due to a NopCommerce issue that's preventing me from upgrading to 4.8 now.

D3bo and others added 4 commits August 8, 2024 08:08
Give error on Read ApiConfigurations settings
Replaced retrieval of ApiConfiguration from AppSettings singleton
with direct instantiation in TokenController and ApiStartup to
resolve initialization order issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants