mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-13 02:32:50 +01:00
fix: ui basePath (#1152)
This commit is contained in:
@@ -5,7 +5,7 @@ export function useAPI() {
|
|||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
return new DefaultApi(
|
return new DefaultApi(
|
||||||
new Configuration({
|
new Configuration({
|
||||||
basePath: 'http://localhost:8090/api',
|
basePath: '/api',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
Accept: 'application/json',
|
Accept: 'application/json',
|
||||||
|
|||||||
Reference in New Issue
Block a user