Skip to content

Commit

Permalink
Update index.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrus98 authored Dec 5, 2020
1 parent f84ea66 commit 0b518e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/LandingPage/index.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from 'react';
import { Button } from '@chakra-ui/react';
import { domain } from '../../../../dashboard-backend/src/config.json';

export function LandingPage( props ) {
const login = () => window.location.href = 'https://italianhubot-dashboard.herokuapp.com/api/auth/discord';
const login = () => window.location.href = domain + '/api/auth/discord';
return (
<Button
onClick={login}
Expand Down

0 comments on commit 0b518e6

Please sign in to comment.