From 72de8ada9d20035d863574537a2ca820f3a6e385 Mon Sep 17 00:00:00 2001 From: Josh Ibbotson Date: Sat, 15 Jun 2024 17:21:30 +0100 Subject: [PATCH 1/3] Added netlify.toml --- netlify.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..dde111b --- /dev/null +++ b/netlify.toml @@ -0,0 +1,9 @@ +[build] + command = "yarn build" + publish = ".next" + +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 + force = true From 072ca278c031896057428be457bdb59087f8f985 Mon Sep 17 00:00:00 2001 From: Josh Ibbotson Date: Sat, 15 Jun 2024 17:30:17 +0100 Subject: [PATCH 2/3] updated node engine. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e9e285d..d92c43a 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,14 @@ "dev": "next dev", "build": "next build", "start": "next start", + "export": "next export", "format": "prettier --check .", "test": "jest", "lint": "eslint ./", "codegen": "graphql-codegen --config codegen.ts" }, "engines": { - "node": "21.5.0" + "node": "20.x" }, "dependencies": { "@apollo/client": "^3.10.2", From b30f4919b49f0f917c7281b49278374d7956df63 Mon Sep 17 00:00:00 2001 From: Josh Ibbotson <95958816+Joshibbotson@users.noreply.github.com> Date: Sat, 15 Jun 2024 17:31:17 +0100 Subject: [PATCH 3/3] Delete netlify.toml --- netlify.toml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index dde111b..0000000 --- a/netlify.toml +++ /dev/null @@ -1,9 +0,0 @@ -[build] - command = "yarn build" - publish = ".next" - -[[redirects]] - from = "/*" - to = "/index.html" - status = 200 - force = true