salix/front/core/lib/lilium.js

13 lines
342 B
JavaScript

export default function lilium(route) {
const env = process.env.NODE_ENV;
let newRoute = 'https://localhost:8080/#/' + route;
if (env == 'test')
newRoute = 'https://test-lilium.verdnatura.es/#/' + route;
if (env == 'producction')
newRoute = 'https://lilium.verdnatura.es/#/' + route;
return newRoute;
}