diff options
author | Milad Mohtashamirad <milad.mohtashamirad@morsemicro.com> | 2024-11-18 14:09:53 +1100 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-11-30 05:00:04 +0100 |
commit | a30ae19006cad444e18b10a5e42a35436a59133e (patch) | |
tree | b609c69b37f06a7dffee80da1737a8665437dc5c /applications/luci-app-upnp/htdocs | |
parent | 63b7e637c94a57973cf889b699be42198af19d49 (diff) |
luci-app-openvpn: Handle missing openvpn config file.
With this change if the specified config file (from UCI) doesn't exist,
it won't error out. instead it treats it as an empty file.
Previously, when clicking edit on the custom_config option in the UI, it
will show an error because the file doesn't exist there by default. As a
result, a user can't easily add (paste) a config file content.
Signed-off-by: Milad Mohtashamirad <milad.mohtashamirad@morsemicro.com>
Diffstat (limited to 'applications/luci-app-upnp/htdocs')
0 files changed, 0 insertions, 0 deletions