mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
Change api route to /api/private (#1189)
This commit is contained in:
parent
344304f329
commit
29d9d49f5a
20 changed files with 11 additions and 11 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue