Change api route to /api/private (#1189)

This commit is contained in:
Philip Molares 2021-04-15 22:10:15 +02:00 committed by GitHub
parent 344304f329
commit 29d9d49f5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 11 additions and 11 deletions

View file

@ -12,7 +12,7 @@ import { getAndSetUser } from '../../login-page/auth/utils'
export const loadAllConfig: (baseUrl: string) => Promise<void> = async (baseUrl) => {
setApiUrl({
apiUrl: (process.env.REACT_APP_BACKEND || baseUrl) + '/api/v2'
apiUrl: (process.env.REACT_APP_BACKEND || baseUrl) + '/api/private'
})
const config = await getConfig()