From 0249f05a2fb94c29f3be5cb33248b30d6c748eba Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Sun, 19 May 2019 15:16:54 +0100 Subject: [PATCH] Fixed Sanic documentation (fixes #193) --- docs/server.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/server.rst b/docs/server.rst index 0a80ee5..c13fc75 100644 --- a/docs/server.rst +++ b/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:: - app = web.Application() + app = Sanic() sio.attach(app) The Sanic application can define regular routes that will coexist with the