merge: restore TaskTree native timeline

This commit is contained in:
root
2026-07-21 09:12:37 +02:00
@@ -46,6 +46,13 @@ function nativeAuth(): Plugin {
function nativeRuntimeConfig(): Plugin {
return {
name: "hwlab-tasktree-native-runtime-config",
configureServer(server) {
server.middlewares.use((request, response, next) => {
if (request.url !== "/v1/web-performance" || request.method !== "POST") return next();
response.writeHead(204, { "cache-control": "no-store" });
response.end();
});
},
transformIndexHtml() {
return [{
tag: "script",