ip user info
This commit is contained in:
18
ip_analyzer_app/routes/web.py
Normal file
18
ip_analyzer_app/routes/web.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from flask import Blueprint, render_template
|
||||
|
||||
web_bp = Blueprint('web', __name__)
|
||||
|
||||
|
||||
@web_bp.route('/')
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
|
||||
@web_bp.route('/favicon.ico')
|
||||
def favicon():
|
||||
return '', 204
|
||||
|
||||
|
||||
@web_bp.route('/api')
|
||||
def api_docs():
|
||||
return render_template('api.html')
|
||||
Reference in New Issue
Block a user