You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
716 B

2 months ago
# -*- coding: utf-8 -*-
import datetime
from flask import Flask
import logging
from config import config
import sys, os
import sys, asyncio
webApp = Flask(__name__, instance_relative_config=True, template_folder=config['WEB_APP']['template_folder'])
__version__ = '1.0.1.0'
webApp.config['SECRET_KEY'] = '2qwtq2'
webApp.config['INTERNAL_API_KEY'] = 'lGR9g09RW5cE07rKivRNIH9f'
webApp.config['REMOTE_LOGIN_KEY'] = 'oRTiLTHeNTraZEsI'
webApp.config['SESSION_COOKIE_SAMESITE'] = "None"
webApp.config['SESSION_COOKIE_SECURE'] = True
webApp.jinja_env.add_extension('pypugjs.ext.jinja.PyPugJSExtension')
logging.basicConfig(level = logging.INFO)
from webApp.helper import jinjaHelper
from webApp.interfaces import *