Traefik does not support the DELETE method on the API.
This commit is contained in:
parent
39a55e4a01
commit
479a603d00
@ -52,7 +52,7 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true" # tell Traefik this is something we would like to expose
|
||||
- "traefik.http.routers.backend.entrypoints=web" # what entrypoint should be used for the backend service.
|
||||
- "traefik.http.routers.backend.rule=Host(`localhost`) && PathPrefix(`/api`) && Method(`POST`)" #
|
||||
- "traefik.http.routers.backend.rule=Host(`localhost`) && PathPrefix(`/api`) && (Method(`POST`) || Method(`DELETE`))" #
|
||||
|
||||
# Frontend for serving encrypted notes over HTML (SvelteKit)
|
||||
frontend:
|
||||
|
Loading…
Reference in New Issue
Block a user