mirror of
https://github.com/zadam/trilium.git
synced 2025-12-27 09:44:23 +01:00
feat(build-docs): add root 404 page
This commit is contained in:
parent
aeb0f44a43
commit
757a046474
@ -22,8 +22,9 @@ async function main() {
|
||||
buildSwagger(context);
|
||||
buildScriptApi(context);
|
||||
|
||||
// Copy index file.
|
||||
// Copy index and 404 files.
|
||||
cpSync(join(__dirname, "index.html"), join(context.baseDir, "index.html"));
|
||||
cpSync(join(context.baseDir, "user-guide/404.html"), join(context.baseDir, "404.html"));
|
||||
}
|
||||
|
||||
main();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user