From 26984980b711c598276fe46a3e5df1fbac96315d Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Thu, 13 Jun 2024 14:03:21 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=C2=AB{{.Post.ID}}=20appears=20in=20a=20?= =?UTF-8?q?JS=20template=20literal=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adapters/secondary/gateways/web/templates/postEdit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/secondary/gateways/web/templates/postEdit.html b/adapters/secondary/gateways/web/templates/postEdit.html index 7d50d86..5b53ae1 100644 --- a/adapters/secondary/gateways/web/templates/postEdit.html +++ b/adapters/secondary/gateways/web/templates/postEdit.html @@ -51,7 +51,7 @@ images_upload_handler: (blobInfo, progress) => new Promise((resolve, reject) => { const xhr = new XMLHttpRequest(); xhr.withCredentials = false; - xhr.open('POST', `/post/{{.Post.ID}}/image/create`); + xhr.open('POST', "/post/{{.Post.ID}}/image/create"); xhr.upload.onprogress = (e) => { progress(e.loaded / e.total * 100);