fixed config paths

This commit is contained in:
muerwre 2018-12-03 15:35:07 +07:00
parent 9c0038f0a3
commit bf1b92fdf1
18 changed files with 92 additions and 124 deletions

View file

@ -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`,
};

View file

@ -1,6 +1,4 @@
// Стили карт
import { editor } from '$modules/Editor';
const TILEMAPS = {
WATERCOLOR: {
name: 'Watercolor',

View file

@ -1,5 +1,3 @@
import { ROLES } from '$constants/auth';
export type UserType = {
new_messages: Number,
place_types: Object,