- Bug fixes next to Darkstar live testing...
- Fix .ovpn download file type.
This commit is contained in:
10
www/cgi-bin/vpn-admin_board.cgi
Executable file → Normal file
10
www/cgi-bin/vpn-admin_board.cgi
Executable file → Normal 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
|
||||
|
||||
Reference in New Issue
Block a user