Revize 7f244939
Přidáno uživatelem Lukáš Vlček před asi 2 roky(ů)
webapp/controllers.ts | ||
---|---|---|
2 | 2 |
import { axios } from './utils/axios'; |
3 | 3 |
import { Configuration } from './api'; |
4 | 4 |
import { getToken } from './utils/login'; |
5 |
import { getApiBasePath } from './constants'; |
|
5 | 6 |
|
6 |
let baseURL = 'https://localhost:7241';
|
|
7 |
let baseURL = getApiBasePath();
|
|
7 | 8 |
|
8 | 9 |
const defaultConfig: Configuration = new Configuration({ |
9 | 10 |
basePath: baseURL, |
Také k dispozici: Unified diff
Re #9582