Spaces:
Paused
Paused
Harry-zklcdc
commited on
Commit
·
81adaf9
1
Parent(s):
05fca73
[Fix] 🤗 Redirect Link to Official Web Site
Browse files
app.py
CHANGED
|
@@ -4,11 +4,11 @@ app = Flask(__name__)
|
|
| 4 |
|
| 5 |
@app.route('/<path:subpath>')
|
| 6 |
def subpath(subpath):
|
| 7 |
-
return redirect('https://
|
| 8 |
|
| 9 |
@app.route('/')
|
| 10 |
def index():
|
| 11 |
-
return redirect('https://
|
| 12 |
|
| 13 |
if __name__ == '__main__':
|
| 14 |
app.run()
|
|
|
|
| 4 |
|
| 5 |
@app.route('/<path:subpath>')
|
| 6 |
def subpath(subpath):
|
| 7 |
+
return redirect('https://www.b1ng.chat', code=302)
|
| 8 |
|
| 9 |
@app.route('/')
|
| 10 |
def index():
|
| 11 |
+
return redirect('https://www.b1ng.chat', code=302)
|
| 12 |
|
| 13 |
if __name__ == '__main__':
|
| 14 |
app.run()
|