diff --git a/src/pages/LandingPage/index.jsx b/src/pages/LandingPage/index.jsx index 06b92e0..7c06dcb 100644 --- a/src/pages/LandingPage/index.jsx +++ b/src/pages/LandingPage/index.jsx @@ -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 (