Skip to content

Commit

Permalink
Added Cache to Docs Remote Requests
Browse files Browse the repository at this point in the history
  • Loading branch information
freelancing-solutions committed Apr 17, 2023
1 parent 0db6e3a commit 68c76ee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/routes/home.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
from flask import Blueprint, render_template, send_from_directory
import requests_cache
from src.routes.authentication.routes import user_details
from src.routes.blog.stories import CACHE_TIMEOUT

home_route = Blueprint('home', __name__)



@home_route.route('/')
@user_details
def home(user_data: dict[str, str]):
Expand Down Expand Up @@ -50,4 +47,3 @@ def terms_of_use(user_data: dict[str, str]):
def privacy_policy(user_data: dict[str, str]):
context = dict(user_data=user_data)
return render_template('privacy.html', **context)

0 comments on commit 68c76ee

Please sign in to comment.