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

Added server_url config setting #38

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

bbeng89
Copy link
Contributor

@bbeng89 bbeng89 commented Nov 21, 2024

If you don't like this method or want anything changed just let me know!

Updated configureServer() to check for the config('swagger-ui.server_url') setting first before falling back on config('app.url'). Added test to verify this works as expected.

Closes #37

bbeng89 and others added 3 commits November 21, 2024 12:51
Updated configureServer() to check for this setting first before falling
back on config('app.url'). Added test to verify this works as expected.
Wasn't taking into account the 'files' array in the config. server_url
was being set in the root, which didn't work. Updated tests as well.
@gdebrauwer gdebrauwer merged commit 5ff308b into wotzebra:master Dec 12, 2024
16 checks passed
@gdebrauwer
Copy link
Contributor

Thanks!

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.

Specify alternate URL instead of app.url?
2 participants