mirror of
https://github.com/Floriansylvain/RenewCMS.git
synced 2026-08-19 11:43:22 +02:00
fix: «{{.Post.ID}} appears in a JS template literal»
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user