move some parts to services and introduce the backend communication for the airports
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
export const Configuration = {
|
||||
resourceServer: process.env.RESOURCE_SERVER || 'http://localhost:3000',
|
||||
vatsim: {
|
||||
authorizeUrl: process.env.VATSIM_AUTH_URL || 'https://auth-dev.vatsim.net/oauth/authorize',
|
||||
clientId: process.env.VATSIM_CLIENT_ID || '461',
|
||||
},
|
||||
};
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useEffect } from 'react';
|
||||
import { Button } from 'primereact/button';
|
||||
import { Card } from 'primereact/card';
|
||||
import { Configuration } from './configuration';
|
||||
import { Configuration } from '../services';
|
||||
|
||||
export const Login: React.FC = () => {
|
||||
// reset every old token
|
||||
|
||||
Reference in New Issue
Block a user