This commit is contained in:
mwiegand 2021-11-14 22:18:31 +01:00
parent 600d44a90f
commit 2802998afd

View file

@ -9,4 +9,5 @@ app = Flask(__name__)
@app.route('/', methods = ['GET'])
def build():
strategy = request.args['strategy']
print(strategy, request.data)
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", request.data])