This commit is contained in:
Mateusz779 2023-04-13 14:02:32 +02:00
parent 94ac842bc6
commit 737040d09f
2 changed files with 3 additions and 3 deletions

2
app.py
View File

@ -70,7 +70,7 @@ def create_conf_post():
if os.path.exists(folder): if os.path.exists(folder):
shutil.rmtree(folder) shutil.rmtree(folder)
db.add_conf_image(config_name, token_name) db.add_conf_image(config_name+".squashfs", token_name)
return send_file(os.path.join(app.config['UPLOAD_FOLDER'], config_name+".pub")) return send_file(os.path.join(app.config['UPLOAD_FOLDER'], config_name+".pub"))

View File

@ -29,8 +29,8 @@ CONFIGS=$(pwd)
echo "${CONFIGS}" echo "${CONFIGS}"
sudo apt update #sudo apt update
sudo apt install cmake make g++ gcc libssl-dev libgmp-dev #sudo apt install cmake make g++ gcc libssl-dev libgmp-dev
cd /tmp cd /tmp
wget -O uVPN.tar.xz https://opensource.krypto-it.pl/uVPN/uVPN-$uvpn3_version.tar.xz wget -O uVPN.tar.xz https://opensource.krypto-it.pl/uVPN/uVPN-$uvpn3_version.tar.xz