fix(tasktree): absorb native RUM beacon

This commit is contained in:
root
2026-07-21 09:11:44 +02:00
parent 3fa0a7ec17
commit 896691a186
@@ -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",