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
+9 -4

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
config.py
api-call
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
http://192.168.189.118:8000/toniecloud/gettags
+4 -3
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="*")
+3
View File
@@ -0,0 +1,3 @@
SECRET_KEY = 'super-secret-key'
BASE_DIR = '/mnt/Hoerbuecher/'
PASSWORD = 'supergeheimespasswort'