PDK directory revised

This commit is contained in:
2026-05-16 00:12:09 +08:00
parent 7ac8fed5f9
commit b61195400a
5 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import database # Imports the database.py you created earlier
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
FRONTEND_DIR = os.path.join(BASE_DIR, '..', 'frontend')
YML_PATH = os.path.join(BASE_DIR, 'directories.yaml')
COMPS_ROOT = os.path.join(BASE_DIR, 'PDK_libs')
COMPS_ROOT = os.path.join(BASE_DIR, '..\\PDK_libs')
# Initialize Flask, pointing to the frontend folder for HTML/CSS/JS
app = Flask(__name__, template_folder=FRONTEND_DIR, static_folder=FRONTEND_DIR)