Spaces:
Runtime error
Runtime error
Commit
·
57d80f0
1
Parent(s):
398212d
different func names
Browse files
app.py
CHANGED
|
@@ -17,13 +17,13 @@ def ratelimit_handler(e): return render_template('ratelimit.html')
|
|
| 17 |
@app.errorhandler(403)
|
| 18 |
def forbidden_handler(e): return render_template('forbidden.html')
|
| 19 |
@app.errorhandler(404)
|
| 20 |
-
def
|
| 21 |
@app.errorhandler(405)
|
| 22 |
-
def
|
| 23 |
@app.errorhandler(500)
|
| 24 |
-
def
|
| 25 |
@app.errorhandler(502)
|
| 26 |
-
def
|
| 27 |
|
| 28 |
#empty routes
|
| 29 |
@app.route('/yt/api/v1', methods=['POST'])
|
|
|
|
| 17 |
@app.errorhandler(403)
|
| 18 |
def forbidden_handler(e): return render_template('forbidden.html')
|
| 19 |
@app.errorhandler(404)
|
| 20 |
+
def notfound_handler(e): return render_template('notfound.html')
|
| 21 |
@app.errorhandler(405)
|
| 22 |
+
def methodnotallowed_handler(e): return render_template('methodnotallowed.html')
|
| 23 |
@app.errorhandler(500)
|
| 24 |
+
def internalservererror_handler(e): return render_template('intervalservererror.html')
|
| 25 |
@app.errorhandler(502)
|
| 26 |
+
def badgateway_handler(e): return render_template('badgateway.html')
|
| 27 |
|
| 28 |
#empty routes
|
| 29 |
@app.route('/yt/api/v1', methods=['POST'])
|