Add env variables for frontend
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default {
|
||||
APP_BASE_URL: '/',
|
||||
PUSHER: 'test',
|
||||
PUSHER: __PUSHER__,
|
||||
get apiURL() {
|
||||
return `${this.APP_BASE_URL}/`;
|
||||
},
|
||||
|
||||
@@ -59,7 +59,6 @@ const authIgnoreRoutes = [
|
||||
|
||||
|
||||
const redirectUser = (to, from, next) => {
|
||||
console.log(to);
|
||||
// If auth ignore go to page
|
||||
if (authIgnoreRoutes.indexOf(to.name) > -1) {
|
||||
return next();
|
||||
|
||||
Reference in New Issue
Block a user