@opexa/portal-sdk 0.59.5 → 0.59.6
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.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9084,10 +9084,10 @@ var Sdk = class {
|
|
|
9084
9084
|
const market = searchParams.get("market");
|
|
9085
9085
|
const marketPattern = /^[a-zA-Z0-9]{3,10}(-[a-zA-Z0-9]{3,10}){0,2}$/;
|
|
9086
9086
|
const adClickId = this.adManager.clickId;
|
|
9087
|
-
if (
|
|
9088
|
-
sessionStorage.setItem("domain", "happybingo.ph/meta-ads");
|
|
9089
|
-
} else if (market && marketPattern.test(market)) {
|
|
9087
|
+
if (market && marketPattern.test(market)) {
|
|
9090
9088
|
sessionStorage.setItem("domain", `${hostname}/${market}`);
|
|
9089
|
+
} else if (adClickId) {
|
|
9090
|
+
sessionStorage.setItem("domain", `${hostname}/meta-ads`);
|
|
9091
9091
|
} else if (sessionStorage.getItem("domain") == null) {
|
|
9092
9092
|
sessionStorage.setItem("domain", hostname);
|
|
9093
9093
|
}
|