[PR #1397] [MERGED] Add an "assets_dir" option for frpc #4374

Closed
opened 2026-05-05 14:40:54 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/1397
Author: @velovix
Created: 8/20/2019
Status: Merged
Merged: 8/20/2019
Merged by: @fatedier

Base: devHead: issue-1387_client-assets-dir


📝 Commits (2)

  • 00bd0a8 Load assets for dashboard/admin panel on demand
  • bc46e33 Add an "assets_dir" option for frpc

📊 Changes

5 files changed (+24 additions, -15 deletions)

View changed files

📝 client/service.go (+7 -8)
📝 conf/frpc_full.ini (+2 -0)
📝 go.sum (+2 -0)
📝 models/config/client_common.go (+6 -0)
📝 server/service.go (+7 -7)

📄 Description

This option allows users to specify where they want assets to be loaded from, like the "assets_dir" option that already exists for frps. This allows library users to use the admin panel without having to bundle assets with statik.

This PR is based off of the branch from #1395, so that PR should be reviewed first.

Related: #1387


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/1397 **Author:** [@velovix](https://github.com/velovix) **Created:** 8/20/2019 **Status:** ✅ Merged **Merged:** 8/20/2019 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `issue-1387_client-assets-dir` --- ### 📝 Commits (2) - [`00bd0a8`](https://github.com/fatedier/frp/commit/00bd0a8af4f1365d114484ee2ed1c47417c8d450) Load assets for dashboard/admin panel on demand - [`bc46e33`](https://github.com/fatedier/frp/commit/bc46e3330a07033d891629ab3893e4381befde76) Add an "assets_dir" option for frpc ### 📊 Changes **5 files changed** (+24 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `client/service.go` (+7 -8) 📝 `conf/frpc_full.ini` (+2 -0) 📝 `go.sum` (+2 -0) 📝 `models/config/client_common.go` (+6 -0) 📝 `server/service.go` (+7 -7) </details> ### 📄 Description This option allows users to specify where they want assets to be loaded from, like the "assets_dir" option that already exists for frps. This allows library users to use the admin panel without having to bundle assets with statik. This PR is based off of the branch from #1395, so that PR should be reviewed first. Related: #1387 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:40:54 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#4374
No description provided.