I don't think it accomplished what I was planning on doing. But it's being served with waitress now.
This commit is contained in:
3
main.py
3
main.py
@@ -3,7 +3,7 @@ from flask import Flask, jsonify, render_template, request
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from waitress import serve
|
||||
|
||||
PATH = '/download'
|
||||
|
||||
@@ -213,3 +213,4 @@ def test():
|
||||
|
||||
if __name__ == "__main__":
|
||||
# app.run(host='0.0.0.0', debug=True)
|
||||
serve(app, host='0.0.0.0', port=8000)
|
||||
Reference in New Issue
Block a user