mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-01 02:32:23 +02:00
parent
665dfd5c44
commit
2eafb7260c
2 changed files with 8 additions and 1 deletions
BIN
ihatemoney/static/favicon.ico
Normal file
BIN
ihatemoney/static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
|
@ -9,9 +9,10 @@ some shortcuts to make your life better when coding (see `pull_project`
|
|||
and `add_project_id` for a quick overview)
|
||||
"""
|
||||
|
||||
import os
|
||||
from flask import (
|
||||
Blueprint, current_app, flash, g, redirect, render_template, request,
|
||||
session, url_for, send_file
|
||||
session, url_for, send_file, send_from_directory
|
||||
)
|
||||
from flask_mail import Message
|
||||
from flask_babel import get_locale, gettext as _
|
||||
|
@ -582,3 +583,9 @@ def dashboard():
|
|||
projects=Project.query.all(),
|
||||
is_admin_dashboard_activated=is_admin_dashboard_activated
|
||||
)
|
||||
|
||||
|
||||
@main.route('/favicon.ico')
|
||||
def favicon():
|
||||
return send_from_directory(os.path.join(main.root_path, 'static'),
|
||||
'favicon.ico', mimetype='image/vnd.microsoft.icon')
|
||||
|
|
Loading…
Reference in a new issue