fixed issues with site urls not being a site root (hopefully)

This commit is contained in:
2026-05-30 18:34:18 +01:00
parent 4955ebe7bd
commit dd317883be
17 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
<%- include("../partials/head") %>
</head>
<body>
<form action="/submit_edit_post" method="POST" onsubmit="sha512password()">
<form action="<%= config.site_url %>/submit_edit_post" method="POST" onsubmit="sha512password()">
<input name="userID" type="hidden" value="<%= post['userID'] %>">
<input name="postID" type="hidden" value="<%= postID %>">