@kwiz/common 1.0.208 → 1.0.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.kwiz_cdn_hostname_localdev = exports.kwiz_cdn_hostname_fastring = exports.kwiz_cdn_hostname_production = void 0;
|
|
4
4
|
exports.kwiz_cdn_root = kwiz_cdn_root;
|
|
5
|
-
const _dependencies_1 = require("../_dependencies");
|
|
6
5
|
/** apps.kwizcom.com */
|
|
7
6
|
exports.kwiz_cdn_hostname_production = "apps.kwizcom.com";
|
|
8
7
|
/** kwizappsfr.azurewebsites.net */
|
|
@@ -12,10 +11,11 @@ exports.kwiz_cdn_hostname_localdev = "apps.kwizcom.com";
|
|
|
12
11
|
/** https://apps.kwizcom.com (or local dev/fast-ring) - runtime use only, don't use in places where this might get saved in settings */
|
|
13
12
|
function kwiz_cdn_root() {
|
|
14
13
|
//must wrap in function otherwise this will eval once before configInfo has been updated.
|
|
15
|
-
return `https://${
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
// return `https://${configInfo.IsLocalDev
|
|
15
|
+
// ? kwiz_cdn_hostname_localdev
|
|
16
|
+
// : configInfo.IsFastRing
|
|
17
|
+
// ? kwiz_cdn_hostname_fastring
|
|
18
|
+
// : kwiz_cdn_hostname_production}`;
|
|
19
|
+
return exports.kwiz_cdn_hostname_production;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/helpers/constants.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/helpers/constants.ts"],"names":[],"mappings":";;;AAUA,sCASC;AAlBD,uBAAuB;AACV,QAAA,4BAA4B,GAAG,kBAAkB,CAAC;AAC/D,mCAAmC;AACtB,QAAA,0BAA0B,GAAG,8BAA8B,CAAC;AACzE,qBAAqB;AACR,QAAA,0BAA0B,GAAG,kBAAkB,CAAC;AAG7D,uIAAuI;AACvI,SAAgB,aAAa;IACzB,yFAAyF;IACzF,0CAA0C;IAC1C,mCAAmC;IACnC,8BAA8B;IAC9B,uCAAuC;IACvC,4CAA4C;IAE5C,OAAO,oCAA4B,CAAC;AACxC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { configInfo } from "../_dependencies";
|
|
2
1
|
/** apps.kwizcom.com */
|
|
3
2
|
export const kwiz_cdn_hostname_production = "apps.kwizcom.com";
|
|
4
3
|
/** kwizappsfr.azurewebsites.net */
|
|
@@ -8,10 +7,11 @@ export const kwiz_cdn_hostname_localdev = "apps.kwizcom.com";
|
|
|
8
7
|
/** https://apps.kwizcom.com (or local dev/fast-ring) - runtime use only, don't use in places where this might get saved in settings */
|
|
9
8
|
export function kwiz_cdn_root() {
|
|
10
9
|
//must wrap in function otherwise this will eval once before configInfo has been updated.
|
|
11
|
-
return `https://${configInfo.IsLocalDev
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
// return `https://${configInfo.IsLocalDev
|
|
11
|
+
// ? kwiz_cdn_hostname_localdev
|
|
12
|
+
// : configInfo.IsFastRing
|
|
13
|
+
// ? kwiz_cdn_hostname_fastring
|
|
14
|
+
// : kwiz_cdn_hostname_production}`;
|
|
15
|
+
return kwiz_cdn_hostname_production;
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/helpers/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/helpers/constants.ts"],"names":[],"mappings":"AACA,uBAAuB;AACvB,MAAM,CAAC,MAAM,4BAA4B,GAAG,kBAAkB,CAAC;AAC/D,mCAAmC;AACnC,MAAM,CAAC,MAAM,0BAA0B,GAAG,8BAA8B,CAAC;AACzE,qBAAqB;AACrB,MAAM,CAAC,MAAM,0BAA0B,GAAG,kBAAkB,CAAC;AAG7D,uIAAuI;AACvI,MAAM,UAAU,aAAa;IACzB,yFAAyF;IACzF,0CAA0C;IAC1C,mCAAmC;IACnC,8BAA8B;IAC9B,uCAAuC;IACvC,4CAA4C;IAE5C,OAAO,4BAA4B,CAAC;AACxC,CAAC"}
|