Commit fafc77a3 authored by 132ikl's avatar 132ikl
Browse files

Fix link shortening when not using subdomain

parents 8549c098 75ac1523
......@@ -194,7 +194,7 @@ app.secret_key = app.config['secret_key']
app.config['SERVER_NAME'] = app.config['site_domain']
@app.route('/favicon.ico', subdomain=app.config['subdomain'])
def favicon():
return send_from_directory(os.path.join(app.root_path, 'static'),
'favicon.ico', mimetype='image/')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment