Notes/server/src/index.ts

12 lines
274 B
TypeScript
Raw Normal View History

import startTrilium = require("./www");
2024-05-12 10:53:34 +03:00
startTrilium({
setupCompleteCallback: (res) => {
res.redirect('.');
},
getInitialTheme() {
// default based on the poll in https://github.com/zadam/trilium/issues/2516
return "dark";
2024-05-12 10:53:34 +03:00
}
});