Sfoglia il codice sorgente

fixing subdomain redirection

joel
Simon Bowie 2 anni fa
parent
commit
31113c6a89
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +1
    -0
      .env.template
  2. +1
    -1
      web/app/auth.py

+ 1
- 0
.env.template Vedi File

@@ -6,6 +6,7 @@ FLASK_RUN_HOST=0.0.0.0
FLASK_ENV=development
SECRET_KEY=
DATABASE_URL=sqlite:///db.sqlite
SERVER_NAME=

# MariaDB variables (for production only)
MYSQL_ROOT_PASSWORD=

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

@@ -12,7 +12,7 @@ from flask_login import login_user, logout_user, login_required
from .models import User
from . import db

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

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

Loading…
Annulla
Salva