misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
de71d18a72
commit
60d9fd46ae
@ -36,7 +36,7 @@ class Server:
|
|||||||
CORS(app, resources={r"*": {"origins": self._origin}})
|
CORS(app, resources={r"*": {"origins": self._origin}})
|
||||||
|
|
||||||
CSRFProtect(app)
|
CSRFProtect(app)
|
||||||
Handler(agent, app)
|
Handler(self._agent, app)
|
||||||
|
|
||||||
app.run(host=self._address, port=self._port, debug=False)
|
app.run(host=self._address, port=self._port, debug=False)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user