hopefully fix favicon
Signed-off-by: Chloe Carver-Brown <admin@twxtter.com>
This commit is contained in:
parent
0ad193c13a
commit
a24dc40794
|
@ -2,6 +2,7 @@
|
|||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Twxtter Stats</title>
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||
<style>
|
||||
|
||||
</style>
|
||||
|
|
11
twitfix.py
11
twitfix.py
|
@ -480,15 +480,6 @@ def dir(sub_path):
|
|||
return redirect(url, 301)
|
||||
|
||||
|
||||
@app.route("/favicon.ico") # This shit don't work
|
||||
def favicon():
|
||||
return send_from_directory(
|
||||
os.path.join(app.root_path, "static"),
|
||||
"favicon.ico",
|
||||
mimetype="image/vnd.microsoft.icon",
|
||||
)
|
||||
|
||||
|
||||
def direct_video(video_link): # Just get a redirect to a MP4 link from any tweet link
|
||||
cached_vnf = getVnfFromLinkCache(video_link)
|
||||
if cached_vnf == None:
|
||||
|
@ -564,7 +555,7 @@ def embed_video(video_link, image=0, raw=False): # Return Embed from any tweet
|
|||
|
||||
|
||||
def tweetInfo(
|
||||
url,
|
||||
url="",
|
||||
tweet="",
|
||||
desc="",
|
||||
thumb="",
|
||||
|
|
Reference in New Issue