Set blueprint paths in main app

Make blueprints more self-contained for no apparent reason.
This commit is contained in:
Timotej Lazar 2023-12-04 09:46:37 +01:00
parent abc7a0728b
commit 32b182856d
6 changed files with 10 additions and 10 deletions

View file

@ -10,7 +10,7 @@ import flask_login
from . import db
from . import system
blueprint = flask.Blueprint('vpn', __name__, url_prefix='/vpn')
blueprint = flask.Blueprint('vpn', __name__)
wgkey_regex = re.compile(r'^[A-Za-z0-9/+=]{44}$')
@blueprint.route('/')