|
@@ -30,7 +30,7 @@ export const promotionAction = ResourceModule.action({
|
|
|
const res = await this.https.createPromotion({ title });
|
|
|
console.log(location.host, location.host == "www.infish.cn");
|
|
|
if (location.host == "www.infish.cn") {
|
|
|
- const url = `${location.origin}/projects/queenshow/editor.html#/?id=${res.result}`;
|
|
|
+ const url = `${location.origin}/projects/queenshowv1/editor.html#/?id=${res.result}`;
|
|
|
location.href = url;
|
|
|
return;
|
|
|
}
|
|
@@ -47,7 +47,7 @@ export const promotionAction = ResourceModule.action({
|
|
|
const res = await this.https.createComp({ title });
|
|
|
console.log(location.host, location.host == "www.infish.cn");
|
|
|
if (location.host == "www.infish.cn") {
|
|
|
- const url = `${location.origin}/projects/queenshow/editor.html#/?id=${res.result}&mode=editComp`;
|
|
|
+ const url = `${location.origin}/projects/queenshowv1/editor.html#/?id=${res.result}&mode=editComp`;
|
|
|
location.href = url;
|
|
|
return;
|
|
|
}
|