Closed khteh closed 10 months ago
import quart_flask_patch, json, logging, os from quart import Quart, request app = Quart(__name__, template_folder='view/templates', static_url_path='', static_folder='view/static') app.config.from_json("/etc/pythonrestapi_config.json", "r")
Environment:
from_json was deprecated a while back, use from_file("/etc/pythonrestapi_config.json", json.load) instead
from_file("/etc/pythonrestapi_config.json", json.load)
Environment: