Skip to content

Commit

Permalink
Admin2 host fix
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownJoe796 committed Nov 12, 2024
1 parent acda7cc commit 90f0c42
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ class MetaEndpoints(
""".trimIndent() + original.substringAfterLast("</body>"))
}
.let { original ->
(original.substringBeforeLast("</head>") + """
(original.substringBeforeLast("<head>") + """
<head>
<base href="${path("admin2/").fullUrl()}">
</head>
""".trimIndent() + original.substringAfterLast("</head>"))
""".trimIndent() + original.substringAfterLast("<head>"))
}
return HttpResponse.html(content = page, headers = {
set(
Expand Down

0 comments on commit 90f0c42

Please sign in to comment.