mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
refactor(server): fix vite runtime not proxied
This commit is contained in:
@@ -37,7 +37,7 @@ async function register(app: express.Application) {
|
|||||||
url = "/src" + url;
|
url = "/src" + url;
|
||||||
}
|
}
|
||||||
url = `/${assetPath}/app${url}`;
|
url = `/${assetPath}/app${url}`;
|
||||||
url = url.replace(/.js$/, ".ts");
|
url = url.replace(/\.js$/, ".ts");
|
||||||
console.log(`${req.url} => ${publicUrl}${url}`);
|
console.log(`${req.url} => ${publicUrl}${url}`);
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user