v0.1.11 Quick fix
This commit is contained in:
parent
8bc30c961f
commit
8aae1fdd45
|
@ -94,6 +94,10 @@ export function CosmosContainerPicker({formik, lockTarget, TargetContainer}) {
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
if(lockTarget) {
|
if(lockTarget) {
|
||||||
|
targetResult.container = TargetContainer.Names[0]
|
||||||
|
targetResult.containerObject = TargetContainer
|
||||||
|
targetResult.port = ''
|
||||||
|
targetResult.protocol = 'http'
|
||||||
onContainerChange(TargetContainer)
|
onContainerChange(TargetContainer)
|
||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
|
@ -128,7 +128,7 @@ const ServeApps = () => {
|
||||||
<div>
|
<div>
|
||||||
<RouteManagement TargetContainer={openModal}
|
<RouteManagement TargetContainer={openModal}
|
||||||
routeConfig={{
|
routeConfig={{
|
||||||
Target: "http://"+openModal.Names[0] + ":8080",
|
Target: "http://"+openModal.Names[0].replace('/', '') + ":",
|
||||||
Mode: "SERVAPP",
|
Mode: "SERVAPP",
|
||||||
Name: openModal.Names[0].replace('/', ''),
|
Name: openModal.Names[0].replace('/', ''),
|
||||||
Description: "Expose " + openModal.Names[0].replace('/', '') + " to the internet",
|
Description: "Expose " + openModal.Names[0].replace('/', '') + " to the internet",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.1.10",
|
"version": "0.1.11",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
Loading…
Reference in a new issue