mirror of
https://github.com/yhl452493373/frps-panel.git
synced 2026-04-04 14:27:00 +08:00
Compare commits
2 Commits
1.7.0
...
70bddc6c1b
| Author | SHA1 | Date | |
|---|---|---|---|
| 70bddc6c1b | |||
| db0a36fc00 |
@@ -1,3 +1,7 @@
|
|||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(199, 199, 199, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
.layui-bg-blue {
|
.layui-bg-blue {
|
||||||
background-color: #58b7ff !important;
|
background-color: #58b7ff !important;
|
||||||
}
|
}
|
||||||
@@ -132,6 +136,10 @@ section.proxy-list .proxy-info .layui-row .layui-row > div:first-child {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(107, 107, 107, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
.login-title,
|
.login-title,
|
||||||
.login-title a {
|
.login-title a {
|
||||||
color: #99a9bf !important;
|
color: #99a9bf !important;
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: 0.3s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
html, body {
|
html, body {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|||||||
@@ -586,10 +586,14 @@ func (c *HandleController) MakeProxyFunc() func(context *gin.Context) {
|
|||||||
if res.Code == http.StatusOK {
|
if res.Code == http.StatusOK {
|
||||||
res.Success = true
|
res.Success = true
|
||||||
res.Data = string(body)
|
res.Data = string(body)
|
||||||
res.Message = "Proxy to " + requestUrl + " success"
|
res.Message = fmt.Sprintf("Proxy to %s success", requestUrl)
|
||||||
} else {
|
} else {
|
||||||
res.Success = false
|
res.Success = false
|
||||||
res.Message = "Proxy to " + requestUrl + " error: " + string(body)
|
if res.Code == http.StatusNotFound {
|
||||||
|
res.Message = fmt.Sprintf("Proxy to %s error: url not found", requestUrl)
|
||||||
|
} else {
|
||||||
|
res.Message = fmt.Sprintf("Proxy to %s error: %s", requestUrl, string(body))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.Printf(res.Message)
|
log.Printf(res.Message)
|
||||||
|
|||||||
Reference in New Issue
Block a user