luci/applications/luci-app-openvpn/luasrc
Milad Mohtashamirad a30ae19006
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>
2024-11-30 05:00:04 +01:00
..
controller luci-app-openvpn: fix openvpn config corruption on upload 2022-03-20 02:24:42 +03:00
model/cbi luci-app-openvpn: Handle missing openvpn config file. 2024-11-30 05:00:04 +01:00
view/openvpn treewide: HTML Cleanup 2024-11-22 22:39:46 +01:00