Add an "assets_dir" option for frpc

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 commit is contained in:
Tyler Compton
2019-08-19 16:51:03 -07:00
parent 00bd0a8af4
commit bc46e3330a
4 changed files with 11 additions and 1 deletions

View File

@@ -29,6 +29,8 @@ admin_addr = 127.0.0.1
admin_port = 7400
admin_user = admin
admin_pwd = admin
# Admin assets directory. By default, these assets are bundled with frpc.
# assets_dir = ./static
# connections will be established in advance, default value is zero
pool_count = 5