- Bug fixes next to Darkstar live testing...

- Fix .ovpn download file type.
This commit is contained in:
AlkorZ3 committed 2026-08-25 10:25:01 +02:00
1 parent c2de255a0e
commit 3dc7f6bdd5
6 files changed
+43 -31

No files matched your search

Executable → Regular
+8 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/bash
#-----------------------------------------------------------------------------------------------------------------------------------
#
# Rx3 VPN Admin Board CGI
@@ -125,6 +125,12 @@ vab_header_print()
echo "Content-type: text/plain"
echo ""
;;
"ovpn")
echo "Content-disposition: attachment; filename=${FILE_NAME}"
echo "Content-type: application/x-openvpn-profile"
echo ""
;;
esac
}
@@ -903,7 +909,7 @@ vab_command_handler()
route_type="defroute"
fi
FORMAT="txt"
FORMAT="ovpn"
if [[ "${TYPE}" == "ext" ]]
then