]> git.ipfire.org Git - ipfire.org.git/commitdiff
docs: Fix rendering URL
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Dec 2023 13:29:08 +0000 (13:29 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 Dec 2023 13:29:08 +0000 (13:29 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/docs/edit.html

index 98c042aecbc156483e3c74e6b38cd7dd3aa12595..68d87ab022fd83fe335b74f291b5189f23d4089f 100644 (file)
@@ -7,7 +7,7 @@
 
        <div class="container">
                <section class="section">
-                       <form action="" method="POST" class="editor" data-render_url="{{ os.path.join(path, "_render") }}">
+                       <form action="" method="POST" class="editor" data-render_url="/docs{{ os.path.join(path, "_render") }}">
                                {% raw xsrf_form_html() %}
 
                                <div class="level">