finally saving things

This commit is contained in:
muerwre 2018-08-30 17:10:33 +07:00
parent e0f5d0238a
commit 47e4f4a97d
22 changed files with 277 additions and 38 deletions

View file

@ -1,7 +1,8 @@
export const SERVER = 'http://alpha-map.vault48.org';
export const API = {
COMPOSE: `${SERVER}/engine/composerOrchid.php`,
GET_GUEST: `${SERVER}/engine/auth.php`,
CHECK_TOKEN: `${SERVER}/engine/auth.php`,
GET_MAP: `${SERVER}/engine/auth.php`,
GET_GUEST: `${SERVER}/engine/authOrchid.php`,
CHECK_TOKEN: `${SERVER}/engine/authOrchid.php`,
GET_MAP: `${SERVER}/engine/authOrchid.php`,
POST_MAP: `${SERVER}/engine/authOrchid.php?action=store`,
};

View file

@ -6,4 +6,5 @@ export const MODES = {
TRASH: 'TRASH',
NONE: 'NONE',
LOGO: 'LOGO',
SAVE: 'SAVE',
};

3
src/constants/tips.jsx Normal file
View file

@ -0,0 +1,3 @@
export const TIPS = {
SAVE_INFO: 'Вы можете задать своё название маршрута и адрес, по которому он будет доступен.'
};