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

URL and ID of old posts aren't the same #234

Open
labbo-lab opened this issue Oct 20, 2022 · 0 comments
Open

URL and ID of old posts aren't the same #234

labbo-lab opened this issue Oct 20, 2022 · 0 comments

Comments

@labbo-lab
Copy link
Contributor

this breaks the reply system since it gets the id instead of the URL

example: https://us-central1-sandtable-8d0f7.cloudfunctions.net/api/creations/1gdrmxX5BQCLFrdCWuaQ
has an id of 26b7f9f3abf0db0b819baf2e549d2707
but a URL is https://sandspiel.club/#1gdrmxX5BQCLFrdCWuaQ

Sandspiel tries to use the id as the URL, calling for https://us-central1-sandtable-8d0f7.cloudfunctions.net/api/creations/26b7f9f3abf0db0b819b which returns {"errorCode":404,"errorMessage":"submission '26b7f9f3abf0db0b819b' not found"}

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

No branches or pull requests

1 participant