0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 11:08:10 +00:00

if no title still append prefix

This commit is contained in:
Víctor Losada Hernández
2026-03-22 02:27:38 +01:00
parent 09ea3430a0
commit 13150aca0d

View File

@@ -32,7 +32,9 @@
if (title) {
document.title = `${prefix}${title} - The Homebrewery`;
}
} else {
document.title = `${prefix} - The Homebrewery`;
}
if (window.location.pathname.startsWith('/admin')) {
import('/client/admin/main.jsx');