zklcdc commited on
Commit
b8b193e
·
verified ·
1 Parent(s): 7ca0488

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -2,6 +2,10 @@ from flask import Flask, redirect
2
 
3
  app = Flask(__name__)
4
 
 
 
 
 
5
  @app.route('/')
6
  def index():
7
  return redirect('https://dongsiqie.me', code=302)
 
2
 
3
  app = Flask(__name__)
4
 
5
+ @app.route('/<path:subpath>')
6
+ def index():
7
+ return redirect('https://dongsiqie.me', code=302)
8
+
9
  @app.route('/')
10
  def index():
11
  return redirect('https://dongsiqie.me', code=302)