Skip to content

Conversation

@DEVMANISHOFFL
Copy link
Contributor

Description
This PR fixes #7839

The "API" link in the Web UI navigation bar was pointing to swagger/ (with a trailing slash), which caused 404 errors or double-slash issues (/swagger//index.html) in some environments (like HAProxy or Docker).

I have updated the link to point explicitly to swagger/index.html, which ensures consistent behavior across different setups.

Notes for Reviewers

  • The fix is located in core/http/views/partials/navbar.html.

  • Changed href="swagger/" to href="swagger/index.html" for both desktop and mobile menu views.

  • This resolves the reported 404 error when accessing the API documentation from the main menu.

Signed commits

  • Yes, I signed my commits.

@netlify
Copy link

netlify bot commented Jan 5, 2026

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 6fa7048
🔍 Latest deploy log https://app.netlify.com/projects/localai/deploys/695c165103d2e3000858e75d
😎 Deploy Preview https://deploy-preview-7878--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@DEVMANISHOFFL DEVMANISHOFFL force-pushed the fix/61825-require-primary-key-privilege branch from 0841392 to 6fa7048 Compare January 5, 2026 19:51
@mudler mudler merged commit a3b8a94 into mudler:master Jan 5, 2026
10 checks passed
@DEVMANISHOFFL DEVMANISHOFFL deleted the fix/61825-require-primary-key-privilege branch January 6, 2026 05:58
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.

Web UI: 404 error when opening the API main menu entry

2 participants