Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #51 from SamR1/move-to-vue3-fix
Browse files Browse the repository at this point in the history
Fix after upgrading to vue3
  • Loading branch information
SamR1 committed Sep 17, 2023
2 parents a99d5e2 + 5e528b2 commit 758d34b
Show file tree
Hide file tree
Showing 19 changed files with 152 additions and 82 deletions.
6 changes: 5 additions & 1 deletion rdltr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
from typing import Dict

from flask import Flask, Response, render_template
from flask import Flask, Response, render_template, send_file
from flask_bcrypt import Bcrypt
from flask_migrate import Migrate
from flask_sqlalchemy import SQLAlchemy
Expand Down Expand Up @@ -73,6 +73,10 @@ def after_request(response: Response) -> Response:
def ping_pong() -> Dict:
return {"status": "success", "message": "pong!"}

@app.route("/favicon.ico")
def favicon() -> Response:
return send_file(os.path.join(app.root_path, "dist/favicon.ico"))

@app.route("/", defaults={"path": ""})
@app.route("/<path:path>")
def catch_all(path: str) -> str:
Expand Down
4 changes: 2 additions & 2 deletions rdltr/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
crossorigin="anonymous"
>
<title>rdltr</title>
<script type="module" crossorigin src="/static/index-f6ba516b.js"></script>
<link rel="stylesheet" href="/static/index-ed5776f1.css">
<script type="module" crossorigin src="/static/index-fade5f08.js"></script>
<link rel="stylesheet" href="/static/index-3b1ba5f1.css">
</head>
<body>
<div id="app"></div>
Expand Down
1 change: 1 addition & 0 deletions rdltr/dist/static/index-3b1ba5f1.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 758d34b

Please sign in to comment.