CreateImageWizard: Use stage candlepin urls on stage consoledot
This commit is contained in:
parent
19fb2273ad
commit
1c5542ca81
3 changed files with 24 additions and 4 deletions
|
|
@ -28,6 +28,14 @@ const ActivationKeys = ({ label, isRequired, ...props }) => {
|
|||
setActivationKeys(keys);
|
||||
setIsLoading(false);
|
||||
});
|
||||
|
||||
if (insights.chrome.isProd()) {
|
||||
change('subscription-server-url', 'subscription.rhsm.redhat.com');
|
||||
change('subscription-base-url', 'https://cdn.redhat.com/');
|
||||
} else {
|
||||
change('subscription-server-url', 'subscription.rhsm.stage.redhat.com');
|
||||
change('subscription-base-url', 'https://cdn.stage.redhat.com/');
|
||||
}
|
||||
}, []);
|
||||
|
||||
const setActivationKey = (_, selection) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue