Browse Source

Add application name to Sanic example (#892)

pull/900/head
Florian Metzger-Noel 3 years ago
committed by GitHub
parent
commit
4d5e36d36f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/server/sanic/app.py

2
examples/server/sanic/app.py

@ -4,7 +4,7 @@ from sanic.response import html
import socketio
sio = socketio.AsyncServer(async_mode='sanic')
app = Sanic()
app = Sanic(name='sanic_application')
sio.attach(app)

Loading…
Cancel
Save