Skip to content

Commit

Permalink
issue:2832 Adjust documentation for using state properties within htt…
Browse files Browse the repository at this point in the history
…p -> https redirects doc. (#2864)

Co-authored-by: Adam Hopkins <adam@amhopkins.com>
  • Loading branch information
iAndriy and ahopkins committed Dec 5, 2023
1 parent e4239a8 commit 85c617f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guide/content/en/guide/how-to/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85c617f

Please sign in to comment.