From 1e177a03da9f86ca7be14e445cb47816afcbe95c Mon Sep 17 00:00:00 2001 From: Mukund Bhudia Date: Fri, 5 Jun 2020 18:41:24 +0100 Subject: [PATCH] Added 404 server fix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c1b8b9f..d44ff23 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", - "predeploy": "VUE_APP_URI=https://memory-api.herokuapp.com NODE_ENV=live npm run build", + "predeploy": "VUE_APP_URI=https://memory-api.herokuapp.com NODE_ENV=live npm run build && cp dist/index.html dist/404.html", "webdeploy": "webdeploy/deploy.sh" }, "dependencies": {