mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 13:50:42 +08:00
feat(build-docs): add root 404 page
This commit is contained in:
parent
aeb0f44a43
commit
757a046474
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue