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

Use correct API doc root by reading it from the request #2612

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

nickygerritsen
Copy link
Member

Fixes #2611

Also we should not append /api since the swagger already does this.

Should be back-ported to 8.3.

Fixes DOMjudge#2611

Also we should not append /api since the swagger already does this.
Copy link
Member

@vmcj vmcj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've wrongly assumed this was only for docker.

@nickygerritsen nickygerritsen added this pull request to the merge queue Jun 21, 2024
Merged via the queue into DOMjudge:main with commit 7858e80 Jun 21, 2024
26 checks passed
@nickygerritsen nickygerritsen deleted the api-doc-root branch June 21, 2024 07:25
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.

/domjudge/api/doc Unable to load correct server address
2 participants