Skip to content

Commit

Permalink
Fix 404
Browse files Browse the repository at this point in the history
Update build script to copy index.html to 404.html after build process completes.
Remove bad 404.html file from public/
  • Loading branch information
jwaspin authored and hmaier-fws committed Feb 18, 2024
1 parent e8aac06 commit 405d949
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 50 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"doc:toc": "doctoc README.md",
"build:development": "ember build",
"build": "ember build --environment=production",
"build": "ember build --environment=production && cp dist/index.html dist/404.html",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
"lint:hbs": "ember-template-lint .",
Expand Down
49 changes: 0 additions & 49 deletions public/404.html

This file was deleted.

0 comments on commit 405d949

Please sign in to comment.