Skip to content

Commit

Permalink
Merge pull request #1120 from Amsterdam-Music-Lab/fix/1119-markdown-p…
Browse files Browse the repository at this point in the history
…review

Fixed: Update fetch URL in markdown_preview_text_input.html
  • Loading branch information
drikusroor authored Jun 14, 2024
2 parents 66fec8d + 3c3a7c9 commit ac40b59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ac40b59

Please sign in to comment.