diff --git a/Chapter07/accesstoken/server.py b/Chapter07/accesstoken/server.py index 4130eed..1794574 100644 --- a/Chapter07/accesstoken/server.py +++ b/Chapter07/accesstoken/server.py @@ -20,8 +20,8 @@ app.config.REFRESH_EXPIRATION = timedelta(hours=24) app.config.COOKIE_DOMAIN = "localhost" -app.static("/periodic", "./index-refresh-periodically.html") -app.static("/exception", "./index-refresh-on-exception.html") +app.static("/periodic", "./index-refresh-periodically.html", name="periodic") +app.static("/exception", "./index-refresh-on-exception.html", name="exception") @app.get("/")