mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #1427] [CLOSED] add dashboard url path config #4388
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#4388
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/1427
Author: @cagev
Created: 9/4/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
149ea92add dashboard url8701fa4update dashboard url📊 Changes
24 files changed (+2460 additions, -1775 deletions)
View changed files
📝
assets/frpc/statik/statik.go(+4 -1)📝
assets/frps/static/index.html(+1 -1)📝
assets/frps/static/manifest.js(+1 -1)📝
assets/frps/static/vendor.js(+1 -1)📝
assets/frps/statik/statik.go(+4 -1)📝
cmd/frps/root.go(+3 -0)📝
conf/frps_full.ini(+1 -0)📝
go.mod(+1 -1)📝
go.sum(+2 -0)📝
models/config/server_common.go(+11 -0)📝
server/dashboard.go(+4 -4)📝
server/service.go(+2 -2)📝
web/frpc/package.json(+1 -1)📝
web/frpc/yarn.lock(+151 -94)📝
web/frps/package-lock.json(+2243 -1657)📝
web/frps/package.json(+1 -0)📝
web/frps/src/components/Overview.vue(+3 -1)📝
web/frps/src/components/ProxiesHttp.vue(+5 -2)📝
web/frps/src/components/ProxiesHttps.vue(+2 -2)📝
web/frps/src/components/ProxiesStcp.vue(+1 -1)...and 4 more files
📄 Description
frp的控制台必须监听一个独立的端口,而且静态资源必须放在网站的根路径下 , 如果用nginx的反向代理将url路径映射到控制台端口下,静态资源的路径会出现错误。 我尝试增加了一个配置,指定控制台的url路径。 前端部分用了简单的方法判断根目录地址,有兴趣可以合并,或用别的方式改进吧。
另外项目的编译说明文档不是很全,包括前端的编译过程,最好能完善下文档, 谢谢。
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.