diff --git a/package.json b/package.json index 4cd3fe3..4ce6d78 100644 --- a/package.json +++ b/package.json @@ -62,8 +62,10 @@ }, "scripts": { "start": "node scripts/start.js", - "build": "node scripts/build.js", - "test": "node scripts/test.js" + "build": "node scripts/build.js && cp build/index.html build/200.html", + "test": "node scripts/test.js", + "predeploy": "npm run build", + "deploy": "gh-pages -d build" }, "eslintConfig": { "extends": "react-app" diff --git a/src/components/buttons/AuthenticationButton.js b/src/components/buttons/AuthenticationButton.js index b64ad88..cedb13b 100644 --- a/src/components/buttons/AuthenticationButton.js +++ b/src/components/buttons/AuthenticationButton.js @@ -1,7 +1,7 @@ import React from 'react'; const CLIENT_ID = '9478c90e57ef3d546ef0'; -const REDIRECT_URI = 'http://localhost:9008/login'; +const REDIRECT_URI = 'https://meteorite.surge.sh/login'; const SCOPES = 'notifications'; const AuthenticationButton = props => (