From c92719ffcc610d700a841762637411b01d0cc78b Mon Sep 17 00:00:00 2001 From: obergodmar Date: Thu, 25 Feb 2021 19:22:41 +0300 Subject: [PATCH] Add netlify hosting --- .gitignore | 1 + netlify.toml | 9 +++++++++ package.json | 3 ++- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 netlify.toml diff --git a/.gitignore b/.gitignore index ea511ba..96bbaf1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ build .firebase yarn.lock yarn-error.log +.DS_Store diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..a5220e3 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,9 @@ +[build] + command = "npm run build" + publish = "/build" + base = "/" + +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 diff --git a/package.json b/package.json index 30ff959..95b5558 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "wow-best-places", "description": "This app is supposed to make you feel nostalgic", + "homepage": "https://wow-places.obergodmar.ru/", "version": "2.1.0", "license": "MIT", "author": { @@ -9,7 +10,7 @@ "url": "https://github.com/obergodmar" }, "engines": { - "node": "10.22.0" + "node": "12.20.2" }, "dependencies": { "classnames": "^2.2.6",