From 17404a344c2e32ab21d0a0cae042160f42963a86 Mon Sep 17 00:00:00 2001 From: Andriy Ivaneyko Date: Sun, 3 Dec 2023 10:34:09 -0500 Subject: [PATCH] issue:2832 Adjust documentation for using state properties within http -> https redirects doc. --- guide/content/en/guide/how-to/tls.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/guide/content/en/guide/how-to/tls.md b/guide/content/en/guide/how-to/tls.md index 023aa38db8..cf404d699c 100644 --- a/guide/content/en/guide/how-to/tls.md +++ b/guide/content/en/guide/how-to/tls.md @@ -156,15 +156,15 @@ async def stop(app, _): await app.ctx.redirect.close() async def runner(app, app_server): - app.is_running = True + app.state.is_running = True try: app.signalize() app.finalize() app.state.is_started = True await app_server.serve_forever() finally: - app.is_running = False - app.is_stopping = True + app.state.is_running = False + app.state.is_stopping = True ``` ## Get certificates for your domain names