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(() => {
|
||||
if(lockTarget) {
|
||||
targetResult.container = TargetContainer.Names[0]
|
||||
targetResult.containerObject = TargetContainer
|
||||
targetResult.port = ''
|
||||
targetResult.protocol = 'http'
|
||||
onContainerChange(TargetContainer)
|
||||
}
|
||||
}, [])
|
||||
|
|
|
@ -128,7 +128,7 @@ const ServeApps = () => {
|
|||
<div>
|
||||
<RouteManagement TargetContainer={openModal}
|
||||
routeConfig={{
|
||||
Target: "http://"+openModal.Names[0] + ":8080",
|
||||
Target: "http://"+openModal.Names[0].replace('/', '') + ":",
|
||||
Mode: "SERVAPP",
|
||||
Name: openModal.Names[0].replace('/', ''),
|
||||
Description: "Expose " + openModal.Names[0].replace('/', '') + " to the internet",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.1.10",
|
||||
"version": "0.1.11",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
|
Loading…
Reference in a new issue