Fix web forms when bound to a relative path

This commit is contained in:
Cadence Ember
2025-03-07 09:13:04 +13:00
parent 5b58978df6
commit d5a7b3256b
6 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ const {MatrixServerError} = require("../../matrix/mreq")
test("log in with matrix: shows web page with form on first request", async t => {
const html = await router.test("get", "/log-in-with-matrix", {
})
t.has(html, `hx-post="/api/log-in-with-matrix"`)
t.has(html, `hx-post="api/log-in-with-matrix"`)
})
// ***** second request *****