diff --git a/app/__init__.py b/app/__init__.py index d4d45d0..952a087 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -40,7 +40,7 @@ load_dotenv() #@@@@&. (@@@@@@@@@ ** """ -app = Flask(__name__, subdomain_matching=True) +app = Flask(__name__) def generate_iq(): @@ -67,10 +67,4 @@ def index(): data = json.loads(file.read()) cols = data['cols'] projects = data['projects'] - return render_template('index.html', random_number=generate_iq(), projects=projects, - texlink=os.getenv('TEXURL')) - - -@app.route('/', subdomain='tex') -def texindex(): - return render_template('texindex.html') + return render_template('index.html', random_number=generate_iq(), projects=projects) diff --git a/app/templates/index.html b/app/templates/index.html index 599c889..9857fae 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -12,7 +12,7 @@

Тут можно подпись какую-то сделать

Ваш IQ: {{ random_number }}

- + TeX