1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-26 08:11:17 +02:00

merge master

This commit is contained in:
Kushagra Gour
2019-01-17 20:14:53 +05:30
7 changed files with 75 additions and 56 deletions

View File

@@ -16,7 +16,12 @@ window.chrome.i18n = {
window.$all = selector => [...document.querySelectorAll(selector)];
window.IS_EXTENSION = !!window.chrome.extension;
export const BASE_PATH = window.chrome.extension || window.DEBUG ? '/' : '/app';
export const BASE_PATH =
window.chrome.extension ||
window.DEBUG ||
process.env.NODE_ENV === 'development'
? '/'
: '/app';
var alphaNum = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';