mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
fixed config paths
This commit is contained in:
parent
9c0038f0a3
commit
bf1b92fdf1
18 changed files with 92 additions and 124 deletions
|
@ -1,9 +1,8 @@
|
|||
export const SERVER = 'http://alpha-map.vault48.org';
|
||||
export const TEST = 'http://localhost:3000';
|
||||
import { CLIENT } from '$config/frontend';
|
||||
|
||||
export const API = {
|
||||
GET_GUEST: `${TEST}/auth`,
|
||||
CHECK_TOKEN: `${TEST}/auth`,
|
||||
GET_MAP: `${TEST}/route`,
|
||||
POST_MAP: `${TEST}/route`,
|
||||
GET_GUEST: `${CLIENT.API_ADDR}/auth`,
|
||||
CHECK_TOKEN: `${CLIENT.API_ADDR}/auth`,
|
||||
GET_MAP: `${CLIENT.API_ADDR}/route`,
|
||||
POST_MAP: `${CLIENT.API_ADDR}/route`,
|
||||
};
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
// Стили карт
|
||||
import { editor } from '$modules/Editor';
|
||||
|
||||
const TILEMAPS = {
|
||||
WATERCOLOR: {
|
||||
name: 'Watercolor',
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import { ROLES } from '$constants/auth';
|
||||
|
||||
export type UserType = {
|
||||
new_messages: Number,
|
||||
place_types: Object,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue