luci-app-frpc: fix save configuration error

from: https://github.com/coolsnowwolf/luci/issues/183
This commit is contained in:
Beginner 2023-01-22 01:07:40 +08:00 committed by GitHub
parent 6e6effe637
commit 8f493e5a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ e = t:taboption("other", Flag, "enable_locations", translate("Enable URL routing
e.description = translate("Frp support forward http requests to different backward web services by url routing.")
e:depends("type", "http")
e = t:taboption("other", Value, "locations ", translate("URL routing"))
e = t:taboption("other", Value, "locations", translate("URL routing"))
e.description = translate("Http requests with url prefix /news will be forwarded to this service.")
e.default = "locations=/"
e:depends("enable_locations", 1)