mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Custom Equivalent Domains API results in 404 #116
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lorenzschmid on GitHub (Oct 22, 2018).
When trying to set a new "Custom Equivalent Domains" (under Settings > Domain Rules) I receive an error popup: "An error has occurred. An unexpected error has occurred.". Looking at the developer tools I see that the API call
PUT https://[domain]/api/settings/domainsgets a 404 response.Using Version 2.4.0 in a docker container.
@mprasil commented on GitHub (Oct 22, 2018):
Thanks for reporting this. We're currently handling the settings via the
POSTto/api/settings/domains. I guess this got changed in latest Vault and it's nowPUTcall - just like many otherPOSTcalls in the past. This should be easy to fix.@lorenzschmid commented on GitHub (Oct 22, 2018):
I don't know Rust but isn't it just about chaning the argument in the following line from
posttoput?@mprasil commented on GitHub (Oct 22, 2018):
Almost. Ideally we want to create alias so that both old and new API works. (so that we don't break old clients)