mirror of
https://github.com/fatedier/frp.git
synced 2026-04-05 00:29:16 +08:00
refactor: move web embeds to web/ directory
This commit is contained in:
14
web/frpc/embed.go
Normal file
14
web/frpc/embed.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package frpc
|
||||
|
||||
import (
|
||||
"embed"
|
||||
|
||||
"github.com/fatedier/frp/assets"
|
||||
)
|
||||
|
||||
//go:embed dist
|
||||
var EmbedFS embed.FS
|
||||
|
||||
func init() {
|
||||
assets.Register(EmbedFS)
|
||||
}
|
||||
Reference in New Issue
Block a user