From 3c3a7c9b8738a10818a06116282f297b1a6cf1f6 Mon Sep 17 00:00:00 2001 From: Drikus Roor Date: Fri, 14 Jun 2024 12:10:34 +0200 Subject: [PATCH] chore: Update fetch URL in markdown_preview_text_input.html --- .../templates/widgets/markdown_preview_text_input.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/experiment/templates/widgets/markdown_preview_text_input.html b/backend/experiment/templates/widgets/markdown_preview_text_input.html index fbd3891ae..ba51daeb2 100644 --- a/backend/experiment/templates/widgets/markdown_preview_text_input.html +++ b/backend/experiment/templates/widgets/markdown_preview_text_input.html @@ -237,7 +237,7 @@ function renderMarkdown(textarea, markdownPreview) { // render markdown through http post request to /experiment/render_markdown - return fetch('/experiment/render_markdown/', { + return fetch('{% url "experiment:render_markdown" %}', { method: 'POST', headers: { 'Content-Type': 'application/json',