Browse Source

Fixed Sanic documentation (fixes #193)

pull/319/head
Miguel Grinberg 6 years ago
parent
commit
0249f05a2f
No known key found for this signature in database GPG Key ID: 36848B262DF5F06C
  1. 2
      docs/server.rst

2
docs/server.rst

@ -522,7 +522,7 @@ explicitly, the ``async_mode`` option can be given in the constructor::
A server configured for aiohttp must be attached to an existing application:: A server configured for aiohttp must be attached to an existing application::
app = web.Application() app = Sanic()
sio.attach(app) sio.attach(app)
The Sanic application can define regular routes that will coexist with the The Sanic application can define regular routes that will coexist with the

Loading…
Cancel
Save