unnecessary code
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
203b223cc6
commit
e931414bb7
|
@ -7,18 +7,6 @@ CREATE TABLE `vn`.`packingSiteConfig` (
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
);
|
);
|
||||||
|
|
||||||
INSERT INTO `vn`.`packingSiteConfig` SET
|
|
||||||
shinobiUrl = 'https://shinobi.verdnatura.es',
|
|
||||||
shinobiToken = 'BW4o7FZyJ85she1hlRDe6QnwW3jwEP',
|
|
||||||
shinobiGroupKey = 'xVqft9LFXg',
|
|
||||||
avgBoxingTime = 6000;
|
|
||||||
|
|
||||||
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
||||||
VALUES
|
VALUES
|
||||||
('Boxing', '*', '*', 'ALLOW', 'ROLE', 'employee');
|
('Boxing', '*', '*', 'ALLOW', 'ROLE', 'employee');
|
||||||
|
|
||||||
SELECT e.id expeditionFk, e.ticketFk, ps.code, ps.monitorId
|
|
||||||
FROM expedition e
|
|
||||||
JOIN host h ON Convert(h.code USING utf8mb3) COLLATE utf8mb3_unicode_ci = e.hostFk
|
|
||||||
JOIN packingSite ps ON ps.hostFk = h.id
|
|
||||||
WHERE e.ticketFk = 1;
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
|
@ -55,9 +55,7 @@ export default class App {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getUrl(route, appName) {
|
getUrl(route, appName = 'lilium') {
|
||||||
if (!appName) appName = 'lilium';
|
|
||||||
|
|
||||||
const env = process.env.NODE_ENV;
|
const env = process.env.NODE_ENV;
|
||||||
const filter = {
|
const filter = {
|
||||||
where: {and: [
|
where: {and: [
|
||||||
|
|
Loading…
Reference in New Issue