Change API variable name
This commit is contained in:
parent
2fc6e78f49
commit
60dc0b56bb
4 changed files with 5 additions and 4 deletions
|
@ -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'
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue