서버타입 st 경우 분기처리
This commit is contained in:
@@ -284,7 +284,7 @@ export const getUrl = (getState, endStr) => {
|
|||||||
if (sdpURL.indexOf("qt2") >= 0) {
|
if (sdpURL.indexOf("qt2") >= 0) {
|
||||||
// dev
|
// dev
|
||||||
newUrl = "https://qt2-" + ricCode + SHOPTIME_BASE_URL;
|
newUrl = "https://qt2-" + ricCode + SHOPTIME_BASE_URL;
|
||||||
} else if (sdpURL.indexOf("qt") >= 0) {
|
} else if (sdpURL.indexOf("qt") >= 0 || sdpURL.indexOf("st") >= 0) {
|
||||||
// Qa - cdn
|
// Qa - cdn
|
||||||
newUrl = "https://qt-" + ricCode + SHOPTIME_BASE_URL;
|
newUrl = "https://qt-" + ricCode + SHOPTIME_BASE_URL;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ export default function DebugPanel({ spotlightId }) {
|
|||||||
},
|
},
|
||||||
[dispatch]
|
[dispatch]
|
||||||
);
|
);
|
||||||
|
console.log("###localSettings.serverType", localSettings.serverType);
|
||||||
return (
|
return (
|
||||||
<TPanel isTabActivated={false} spotlightId={spotlightId}>
|
<TPanel isTabActivated={false} spotlightId={spotlightId}>
|
||||||
<THeader title="Debug" />
|
<THeader title="Debug" />
|
||||||
@@ -149,6 +149,15 @@ export default function DebugPanel({ spotlightId }) {
|
|||||||
>
|
>
|
||||||
qt
|
qt
|
||||||
</RadioItem>
|
</RadioItem>
|
||||||
|
|
||||||
|
<RadioItem
|
||||||
|
className={css.switch}
|
||||||
|
selected={localSettings.serverType === "st"}
|
||||||
|
onClick={onChangeServer("st")}
|
||||||
|
disabled={localSettings.preventServerChange}
|
||||||
|
>
|
||||||
|
st
|
||||||
|
</RadioItem>
|
||||||
<RadioItem
|
<RadioItem
|
||||||
className={css.switch}
|
className={css.switch}
|
||||||
selected={localSettings.serverType === "prd"}
|
selected={localSettings.serverType === "prd"}
|
||||||
|
|||||||
Reference in New Issue
Block a user