Преглед изворни кода

hot patch to bring back expose to external traffic toggle on web

sunguroku пре 5 година
родитељ
комит
d9c389ff56
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dashboard/src/main/home/launch/expanded-template/LaunchTemplate.tsx

+ 1 - 1
dashboard/src/main/home/launch/expanded-template/LaunchTemplate.tsx

@@ -244,7 +244,7 @@ class LaunchTemplate extends Component<PropsType, StateType> {
 
     // check if template is docker and create external domain if necessary
     if (this.props.currentTemplate.name == "web") {
-      if (!values?.ingress?.custom_domain) {
+      if (values?.ingress?.enabled && !values?.ingress?.custom_domain) {
         url = await new Promise((resolve, reject) => {
           api
             .createSubdomain(