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"
|
color="primary"
|
||||||
style={{paddingRight: '4px'}}
|
style={{paddingRight: '4px'}}
|
||||||
onClick={() => {
|
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={() => {
|
onDelete={() => {
|
||||||
window.open('/ui/config/proxy#'+route.Name, '_blank');
|
window.open('/ui/config/proxy#'+route.Name, '_blank');
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cosmos-server",
|
"name": "cosmos-server",
|
||||||
"version": "0.1.13",
|
"version": "0.1.14",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "test-server.js",
|
"main": "test-server.js",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
|
Loading…
Reference in a new issue