Redirect URI for prod

This commit is contained in:
Nicholas Zuber 2018-11-07 22:55:34 -05:00
parent 035ff444cc
commit 928e7d438f
2 changed files with 5 additions and 3 deletions

View File

@ -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"

View File

@ -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 => (