Fixed redirector root url
This commit is contained in:
parent
c3a1a4aa69
commit
49273dfa39
@ -24,6 +24,9 @@ class Redirector(Flask):
|
|||||||
|
|
||||||
app = Redirector(__name__)
|
app = Redirector(__name__)
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
|
def index():
|
||||||
|
return render_template("404.html"), 404
|
||||||
|
|
||||||
@app.route("/<path:path>")
|
@app.route("/<path:path>")
|
||||||
async def _handle_request(path: str):
|
async def _handle_request(path: str):
|
||||||
|
Loading…
Reference in New Issue
Block a user