Регистрация блюпринта

This commit is contained in:
2024-11-05 22:49:43 +03:00
parent ee403adc0a
commit b7098c7b6c
2 changed files with 3 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
from flask import Flask, render_template, session
from Requests import requests_bp
from Auth import auth_bp
from Report import report_bp
import os, json
app = Flask(__name__)
@@ -13,6 +14,7 @@ app.config.update(
app.register_blueprint(requests_bp, url_prefix='/requests')
app.register_blueprint(auth_bp, url_prefix='/auth')
app.register_blueprint(report_bp, url_prefix='/report')
@app.route('/')
def index():