This commit is contained in:
Mateusz Gruszczyński committed 2026-10-06 10:16:16 +02:00
1 parent 32e6875980
commit cf25423dde
68 files changed
+2314 -422

No files matched your search

+10
View File
@@ -33,6 +33,7 @@ fn admin_app_javascript() -> &'static str {
static ASSET: std::sync::LazyLock<String> = std::sync::LazyLock::new(|| {
[
include_str!("web/app/core.js"),
include_str!("web/app/preferences.js"),
include_str!("web/app/config-history.js"),
include_str!("web/app/runtime.js"),
include_str!("web/app/settings.js"),
@@ -148,6 +149,15 @@ pub fn router(state: Arc<App>) -> Router {
)
}),
)
.route(
"/assets/drafts.js",
get(|| async {
(
[("content-type", "text/javascript; charset=utf-8")],
include_str!("web/drafts.js"),
)
}),
)
.route(
"/assets/integrations.js",
get(|| async {