1
0
mirror of https://git.ikl.sh/132ikl/liteshort.git synced 2023-08-10 21:13:04 +03:00

Fix link shortening when not using subdomain

This commit is contained in:
132ikl 2019-02-24 23:43:02 -05:00
commit fafc77a369

View File

@ -194,7 +194,7 @@ app.secret_key = app.config['secret_key']
app.config['SERVER_NAME'] = app.config['site_domain']
@app.route('/favicon.ico')
@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/vnd.microsoft.icon')