feat: add support tickets and imrpove web app loading

This commit is contained in:
3252a8
2026-05-20 16:38:24 +03:00
parent 3b846f0d44
commit d8a1da1f13
78 changed files with 8990 additions and 168 deletions
+2 -1
View File
@@ -6,7 +6,7 @@ import "./styles.css";
async function loadBootstrap() {
if (document.getElementById("webapp-config")) return;
try {
const response = await fetch("/api/bootstrap", {
const response = await fetch("/api/bootstrap?i18n_scope=webapp", {
credentials: "include",
headers: { Accept: "application/json" },
});
@@ -31,6 +31,7 @@ const target = document.getElementById("app");
if (target) {
loadBootstrap().finally(() => {
target.replaceChildren();
mount(App, { target });
});
}