This commit is contained in:
parent
251bcc844d
commit
d3ac54faea
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ mimetypes.add_type("text/css", ".css")
|
|||
mimetypes.add_type("application/javascript", ".js")
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config["SOCK_SERVER_OPTIONS"] = {"ping_interval": 5}
|
||||
sock = Sock(app)
|
||||
CORS(app)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue