mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Feature/history api (#84)
added /api/v2.0/ to the backend url Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
e2155e735d
commit
02f1b2abcc
8 changed files with 76 additions and 37 deletions
|
@ -5,7 +5,10 @@ export const setFrontendConfig = (state: FrontendConfigState): void => {
|
|||
const action: SetFrontendConfigAction = {
|
||||
type: SET_FRONTEND_CONFIG_ACTION_TYPE,
|
||||
payload: {
|
||||
state
|
||||
state: {
|
||||
...state,
|
||||
backendUrl: state.backendUrl + '/api/v2.0/'
|
||||
}
|
||||
}
|
||||
}
|
||||
store.dispatch(action)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue