mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
make google auth work without ejecting from create-react-app
This commit is contained in:
10
package.json
10
package.json
@@ -22,7 +22,7 @@
|
||||
"body-parser": "^1.18.3",
|
||||
"compression": "^1.7.2",
|
||||
"cors": "^2.8.4",
|
||||
"dotenv": "^5.0.1",
|
||||
"dotenv": "^6.0.0",
|
||||
"express": "^4.16.3",
|
||||
"express-http-to-https": "^1.1.4",
|
||||
"express-jwt": "^5.3.1",
|
||||
@@ -39,14 +39,14 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^5.2.0",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-config-airbnb-base": "^12.1.0",
|
||||
"eslint-config-node": "^2.0.0",
|
||||
"eslint": "^5.1.0",
|
||||
"eslint-config-airbnb-base": "^13.0.0",
|
||||
"eslint-config-node": "^3.0.0",
|
||||
"eslint-config-prettier": "^2.9.0",
|
||||
"eslint-plugin-import": "^2.13.0",
|
||||
"eslint-plugin-jest": "^21.17.0",
|
||||
"eslint-plugin-prettier": "^2.6.2",
|
||||
"jest": "^22.4.4",
|
||||
"jest": "^23.4.0",
|
||||
"mongodb-memory-server": "^1.9.0",
|
||||
"nodemon": "^1.17.5",
|
||||
"prettier-eslint": "^8.8.2",
|
||||
|
||||
1290
react/package-lock.json
generated
1290
react/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -32,7 +32,8 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-airbnb": "^16.1.0",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-config-airbnb": "^17.0.0",
|
||||
"eslint-config-prettier": "^2.9.0",
|
||||
"eslint-plugin-import": "^2.13.0",
|
||||
"eslint-plugin-jest": "^21.17.0",
|
||||
|
||||
@@ -68,7 +68,7 @@ class LoginForm extends React.Component {
|
||||
id="googlebutton"
|
||||
variant="raised"
|
||||
onClick={() => {
|
||||
window.location = '/api/users/login/google/';
|
||||
window.location = '/__/users/login/google/';
|
||||
}}
|
||||
>
|
||||
Google
|
||||
|
||||
Reference in New Issue
Block a user