mirror of
https://github.com/plankanban/planka.git
synced 2025-07-25 16:19:47 +02:00
fix: Front-end base url with path (#303)
Closes #43, closes #111, closes #272
This commit is contained in:
parent
1ce0fac281
commit
b08e731419
9 changed files with 124 additions and 13 deletions
|
@ -1,8 +1,10 @@
|
|||
const ROOT = '/';
|
||||
const LOGIN = '/login';
|
||||
const PROJECTS = '/projects/:id';
|
||||
const BOARDS = '/boards/:id';
|
||||
const CARDS = '/cards/:id';
|
||||
import Config from './Config';
|
||||
|
||||
const ROOT = `${Config.BASE_PATH}/`;
|
||||
const LOGIN = `${Config.BASE_PATH}/login`;
|
||||
const PROJECTS = `${Config.BASE_PATH}/projects/:id`;
|
||||
const BOARDS = `${Config.BASE_PATH}/boards/:id`;
|
||||
const CARDS = `${Config.BASE_PATH}/cards/:id`;
|
||||
|
||||
export default {
|
||||
ROOT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue