config-Datei erstellt

This commit is contained in:
sandro committed 2026-08-31 21:30:33 +02:00
1 parent f41a13e483
commit 65089447b5
5 files changed
+10 -5

No files matched your search

+5 -4
View File
@@ -8,13 +8,14 @@ from flask import Flask, render_template_string, request, session, redirect, url
from flask_cors import CORS
from playwright.async_api import async_playwright
import requests
import config
# Konfiguration
PASSWORD = 'toniessindteuer'
BASE_DIR = '/mnt/NAS/Toniebox/'
PASSWORD = config.PASSWORD
BASE_DIR = config.BASE_DIR
app = Flask(__name__)
app.config['SECRET_KEY'] = 'tonieflix-super-secret-key'
app.config['SECRET_KEY'] = config.SECRET_KEY
CORS(app, supports_credentials=True, allow_headers="*")
@@ -672,4 +673,4 @@ def api_upload_to_tonie():
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5005)
app.run(host='0.0.0.0', port=5005)