mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 06:45:49 +01:00
fix(nx/desktop): use proper approach for ejs missing
This commit is contained in:
@@ -69,6 +69,7 @@ export default async function buildApp() {
|
||||
|
||||
// view engine setup
|
||||
app.set("views", path.join(scriptDir, "views"));
|
||||
app.engine("ejs", (await import("ejs")).renderFile);
|
||||
app.set("view engine", "ejs");
|
||||
|
||||
app.use((req, res, next) => {
|
||||
|
||||
Reference in New Issue
Block a user