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