From f89960ca884328bed1ef95b37146a767ab160770 Mon Sep 17 00:00:00 2001 From: H0rn0chse Date: Tue, 2 Aug 2022 19:52:50 +0200 Subject: [PATCH] Removing the Procfile and adding cacheDirectories Heroku started the server twice which led to wrong port assignments and runtime errors. --- Procfile | 1 - package.json | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 Procfile diff --git a/Procfile b/Procfile deleted file mode 100644 index edc6c9a0..00000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: npm run start-env diff --git a/package.json b/package.json index 5ddab6e7..3e824412 100644 --- a/package.json +++ b/package.json @@ -127,5 +127,8 @@ "stylelint-config-prettier": "^9.0.3", "stylelint-config-recommended": "^7.0.0", "tar": "^6.1.2" - } + }, + "cacheDirectories": [ + ".next/cache" + ] }