From b795509c2ab1fb2804c77fc33389bef690e28cf1 Mon Sep 17 00:00:00 2001 From: Fabricio Date: Tue, 27 Nov 2018 06:47:40 -0200 Subject: [PATCH] show current proxy target in dashboard --- dashboard.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dashboard.go b/dashboard.go index d0bf31a..121ca1e 100644 --- a/dashboard.go +++ b/dashboard.go @@ -159,6 +159,7 @@ const dashboardHTML = ` position: absolute; background: rgba(0, 0, 0, .5); justify-content: center; + line-height: 1.5rem; z-index: 9; color: #fff; font-size: 2em; @@ -169,6 +170,10 @@ const dashboardHTML = ` padding: 3rem; box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.1); } + .welcome span { + font-size: .5em; + color: #999; + } @@ -210,7 +215,8 @@ const dashboardHTML = `
- Waiting for requests on http://localhost:<<.ProxyPort>>/ +

Waiting for requests on http://localhost:<<.ProxyPort>>/
+ Proxying <<.TargetURL>>