wip
This commit is contained in:
parent
4502c16760
commit
c84ad52a8e
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ app = Flask(__name__)
|
||||||
|
|
||||||
@app.route('/<strategy>', methods=['POST'])
|
@app.route('/<strategy>', methods=['POST'])
|
||||||
def build(strategy):
|
def build(strategy):
|
||||||
json = json.dumps(request.get_json())
|
data = json.dumps(request.get_json())
|
||||||
app.logger.info(json)
|
app.logger.info(data)
|
||||||
print(strategy, json)
|
print(strategy, data)
|
||||||
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", json])
|
return check_output([f"/{environ['STRATEGIES_DIR']}/{strategy}", data])
|
||||||
|
|
Loading…
Reference in a new issue