Browse Source

fixing subdomain redirection

joel
Simon Bowie 3 years ago
parent
commit
31113c6a89
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      .env.template
  2. +1
    -1
      web/app/auth.py

+ 1
- 0
.env.template View File

FLASK_ENV=development FLASK_ENV=development
SECRET_KEY= SECRET_KEY=
DATABASE_URL=sqlite:///db.sqlite DATABASE_URL=sqlite:///db.sqlite
SERVER_NAME=


# MariaDB variables (for production only) # MariaDB variables (for production only)
MYSQL_ROOT_PASSWORD= MYSQL_ROOT_PASSWORD=

+ 1
- 1
web/app/auth.py View File

from .models import User from .models import User
from . import db from . import db


auth = Blueprint('auth', __name__)
auth = Blueprint('auth', __name__, subdomain="toolkit")


# routes for login page # routes for login page
@auth.route('/login') @auth.route('/login')

Loading…
Cancel
Save