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

[BUG] - Theme Plugin isn't honoring the nuxt SUB_PATH #4951

Open
6 tasks done
knom opened this issue Jan 26, 2025 · 0 comments
Open
6 tasks done

[BUG] - Theme Plugin isn't honoring the nuxt SUB_PATH #4951

knom opened this issue Jan 26, 2025 · 0 comments
Labels
bug Something isn't working triage

Comments

@knom
Copy link

knom commented Jan 26, 2025

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

As you can see in source code here...

This request isn't honoring the NUXT SUB_PATH variable..

const route = "/api/app/about/theme";

So if you're running MEALIE under a SUB_PATH (just like myself - and many others.. #695 ) this API call will always fail..
(hit a 404 endpoint)

Steps to Reproduce

  1. Build Mealie with SUB_PATH="/mealie123/"
  2. Open the site under.. http://localhost:9000/mealie123/
  3. Open the browser's network tab
  4. See the theme endpoint fail (/api/app/about/theme)
  5. It should be /mealie123/api/app/about/theme

Please provide relevant logs

/api/app/about/theme --> 404

Mealie Version

No response

Deployment

Docker (Linux)

Additional Deployment Details

No response

@knom knom added bug Something isn't working triage labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant