Change API variable name

This commit is contained in:
Hydroxycarbamide 2022-07-30 20:24:58 +02:00
parent 2fc6e78f49
commit 60dc0b56bb
4 changed files with 5 additions and 4 deletions

View file

@ -11,6 +11,7 @@ interface IAppProps {
interface IAppState {
componentOptions: IAvailableContainerModel[]
}
class App extends React.Component<IAppProps> {
public state: IAppState;
@ -39,7 +40,7 @@ class App extends React.Component<IAppProps> {
}
async function fetchConfiguration(): Promise<IConfigurationResponseModel> {
const url = `${import.meta.env.VITE_SMARTMENUISERIE_URL}`;
const url = `${import.meta.env.VITE_API_URL}`;
const myHeaders = new Headers({
'Content-Type': 'application/json'
});