v0.1.14 mini fix on resolving hostnames links
This commit is contained in:
parent
2ab21e7a5e
commit
d8870191c6
|
@ -287,7 +287,10 @@ const ServeApps = () => {
|
|||
color="primary"
|
||||
style={{paddingRight: '4px'}}
|
||||
onClick={() => {
|
||||
window.open(route.Host + route.PathPrefix, '_blank');
|
||||
if(route.UseHost)
|
||||
window.open(window.location.origin.split("://")[0] + "://" + route.Host + route.PathPrefix, '_blank');
|
||||
else
|
||||
window.open(window.location.origin + route.PathPrefix, '_blank');
|
||||
}}
|
||||
onDelete={() => {
|
||||
window.open('/ui/config/proxy#'+route.Name, '_blank');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cosmos-server",
|
||||
"version": "0.1.13",
|
||||
"version": "0.1.14",
|
||||
"description": "",
|
||||
"main": "test-server.js",
|
||||
"bugs": {
|
||||
|
|
Loading…
Reference in a new issue