lower caching of home page

This commit is contained in:
Cyberes 2023-09-14 14:30:01 -06:00
parent 93a344f4c5
commit 507327db49
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ app.register_blueprint(openai_bp, url_prefix='/api/openai/v1/')
@app.route('/')
@app.route('/api')
@app.route('/api/openai')
@cache.cached(timeout=60)
@cache.cached(timeout=10)
def home():
if not opts.base_client_api:
opts.base_client_api = f'{request.headers.get("Host")}/{opts.frontend_api_client.strip("/")}'