From f21f518bbbfaa0b8eda344902ce71a0e509c7c24 Mon Sep 17 00:00:00 2001 From: angel raynov Date: Mon, 19 Aug 2024 17:45:28 +0300 Subject: [PATCH] redirect publish endpoint to draft-annotations --- default.vcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.vcl b/default.vcl index c94765e..4315b36 100644 --- a/default.vcl +++ b/default.vcl @@ -55,7 +55,7 @@ sub vcl_recv { set req.backend_hint = dynBackend.backend("cm-generic-concept-transformer"); } elif (req.url ~ "^\/draft-annotations\/content\/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}\/annotations\/publish.*$") { - set req.backend_hint = dynBackend.backend("annotations-publisher"); + set req.backend_hint = dynBackend.backend("draft-annotations-api"); } elif (req.url ~ "^\/draft-annotations\/content.*$") { set req.backend_hint = dynBackend.backend("draft-annotations-api");