add webssh

This commit is contained in:
Mateusz779 2023-04-12 15:46:10 +02:00
parent 9bd152b587
commit 7cccf49e00
2 changed files with 5 additions and 0 deletions

4
app.py
View File

@ -2,6 +2,10 @@ from flask import Flask, send_file, jsonify, request
import db
import os
from werkzeug.utils import secure_filename
from subprocess import Popen, PIPE
process = Popen(['wssh','--fbidhttp=False'], stdout=PIPE, stderr=PIPE)
process.communicate()
app = Flask(__name__)
app.config['UPLOAD_FOLDER'] = "configs/squash"

View File

@ -5,3 +5,4 @@ Jinja2==3.1.2
MarkupSafe==2.1.2
psycopg2-binary==2.9.6
Werkzeug==2.2.3
webssh