show current proxy target in dashboard
This commit is contained in:
parent
3085cb3429
commit
b795509c2a
|
@ -159,6 +159,7 @@ const dashboardHTML = `
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background: rgba(0, 0, 0, .5);
|
background: rgba(0, 0, 0, .5);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
line-height: 1.5rem;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
|
@ -169,6 +170,10 @@ const dashboardHTML = `
|
||||||
padding: 3rem;
|
padding: 3rem;
|
||||||
box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.1);
|
box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
.welcome span {
|
||||||
|
font-size: .5em;
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -210,7 +215,8 @@ const dashboardHTML = `
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="welcome" ng-show="items.length == 0">
|
<div class="welcome" ng-show="items.length == 0">
|
||||||
Waiting for requests on http://localhost:<<.ProxyPort>>/
|
<p>Waiting for requests on http://localhost:<<.ProxyPort>>/<br>
|
||||||
|
<span>Proxying <<.TargetURL>></span></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue