Commit decf8c08 authored by build-pipeline's avatar build-pipeline
Browse files

publish: Merge branch 'fix/test-version-fixed' into 'dev'

generated from commit fc48e11f
parent 426628f9
......@@ -12907,14 +12907,14 @@ var EnvironementService = /*#__PURE__*/function () {
}
 
(0, _createClass2.default)(EnvironementService, [{
key: "getEnvironement",
value: function getEnvironement() {
return "development";
key: "isAlpha",
value: function isAlpha() {
return "true";
}
}, {
key: "isProduction",
value: function isProduction() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return true;
}
 
......@@ -12923,7 +12923,7 @@ var EnvironementService = /*#__PURE__*/function () {
}, {
key: "getPublicURL",
value: function getPublicURL() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return 'https://ecolyo-agent.grandlyon.com';
} else {
return 'https://ecolyo-agent-rec.grandlyon.com';
<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="theme-color" content="#ffffff"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover">{{.ThemeCSS}} {{.CozyBar}}</head><body><div role="application" class="application" data-cozy-token="{{.Token}}" data-cozy-domain="{{.Domain}}" data-cozy-locale="{{.Locale}}" data-cozy-app-name="{{.AppName}}" data-cozy-app-slug="{{.AppSlug}}" data-cozy-app-name-prefix="{{.AppNamePrefix}}" data-cozy-app-editor="{{.AppEditor}}" data-cozy-icon-path="{{.IconPath}}"><script src="vendors/ecolyo.a67f281e2348af3a65ba.js"></script><script src="app/ecolyo.51e2ebec711bcd254c79.js"></script></div></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="theme-color" content="#ffffff"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover">{{.ThemeCSS}} {{.CozyBar}}</head><body><div role="application" class="application" data-cozy-token="{{.Token}}" data-cozy-domain="{{.Domain}}" data-cozy-locale="{{.Locale}}" data-cozy-app-name="{{.AppName}}" data-cozy-app-slug="{{.AppSlug}}" data-cozy-app-name-prefix="{{.AppNamePrefix}}" data-cozy-app-editor="{{.AppEditor}}" data-cozy-icon-path="{{.IconPath}}"><script src="vendors/ecolyo.3256cfd41a1e2c66ff46.js"></script><script src="app/ecolyo.1692ca916f0cdcc94a91.js"></script></div></body></html>
\ No newline at end of file
......@@ -93856,12 +93856,12 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
};
 
class EnvironementService {
getEnvironement() {
return "none";
isAlpha() {
return process.env.IS_ALPHA;
}
 
isProduction() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return true;
}
 
......@@ -93869,7 +93869,7 @@ class EnvironementService {
}
 
getPublicURL() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return 'https://ecolyo-agent.grandlyon.com';
} else {
return 'https://ecolyo-agent-rec.grandlyon.com';
......@@ -76656,12 +76656,12 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
};
 
class EnvironementService {
getEnvironement() {
return "none";
isAlpha() {
return process.env.IS_ALPHA;
}
 
isProduction() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return true;
}
 
......@@ -76669,7 +76669,7 @@ class EnvironementService {
}
 
getPublicURL() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return 'https://ecolyo-agent.grandlyon.com';
} else {
return 'https://ecolyo-agent-rec.grandlyon.com';
......@@ -76656,12 +76656,12 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
};
 
class EnvironementService {
getEnvironement() {
return "none";
isAlpha() {
return process.env.IS_ALPHA;
}
 
isProduction() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return true;
}
 
......@@ -76669,7 +76669,7 @@ class EnvironementService {
}
 
getPublicURL() {
if (this.getEnvironement() === 'production') {
if (this.isAlpha() !== 'true') {
return 'https://ecolyo-agent.grandlyon.com';
} else {
return 'https://ecolyo-agent-rec.grandlyon.com';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment