first commit

This commit is contained in:
2024-11-07 18:38:48 +05:00
commit 7ab166fd23
102 changed files with 10284 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# -*- 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 *