add protection that shares the data with my webside
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from my_modules.TheIPManager import TheIPManager
|
||||
from my_modules.app.logger import logger
|
||||
|
||||
from dotenv import find_dotenv, load_dotenv, dotenv_values
|
||||
from pathlib import Path
|
||||
import os, asyncio
|
||||
|
||||
async def read_dot_file():
|
||||
@@ -17,5 +17,4 @@ WEB_DEBUG = os.getenv("WEB_DEBUG", False)
|
||||
SECRET_KEY = os.getenv("FLASK_SECRET_KEY", "USE_ENV_das_ist_ein_geheimer_schlüssel_1")
|
||||
API_GROUP = os.getenv("API_GROUP", 'NanoShare')
|
||||
|
||||
UPLOAD_DIR = Path("uploads")
|
||||
UPLOAD_DIR.mkdir(parents=True, exist_ok=True)
|
||||
THE_IP_BOT_MANAGER = TheIPManager()
|
||||
|
||||
Reference in New Issue
Block a user