-
Notifications
You must be signed in to change notification settings - Fork 556
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
Some API calls do not respect root path #870
Comments
Hey @ChaosExAnima, apologies for this. Let's figure out what's going on.
Note: Cann this be another side effect of #865? |
Hi @fmartingr, yes and yes respectively. To be clear, if those aren't set the app doesn't load correctly- my app is loading and saving bookmarks no problem, but only certain API calls fail as per the title. If you double-check my description, I already linked to what I believe is the problem. Also as a side note, it's incredibly confusing to have both the |
I just wanted to confirm the problem which seems to be the slash at the beginning of those calls ignoring the root path in the
Yeah, this is a bug, only one should be required, potentially to be fixed in 1.6.1 this week once I merge #865 |
Can you check if this was solved with v1.6.1? |
@fmartingr - not fixed, no. |
Ups, sorry, I thought this was another ticket! Let me do a quick PR for this. |
Data
Describe the bug / actual behavior
Some API calls in the settings section of the front end don't use the base path. This includes:
Expected behavior
I expect my settings to save!
To Reproduce
Steps to reproduce the behavior:
/shiori
.Screenshots
The error message is the HTML of another service I run, so I'd prefer to keep that private.
Notes
I dug around in the code a bit, and the linked lines I believe are the culprit. It looks like there's some inconsistency with API fetches, specifically the initial
/
for settings and lack ofURL
entirely for deleting accounts.I can whip up a PR if needed.
The text was updated successfully, but these errors were encountered: