mirror of
https://github.com/bunny-lab-io/Borealis.git
synced 2025-12-15 18:55:48 -07:00
ENGINE: Fixed Certificates Rotating at every Reboot
This commit is contained in:
@@ -24,7 +24,7 @@ environment variables prefixed with ``BOREALIS_``, and finally built-in
|
||||
defaults that mirror the legacy server runtime. Key environment variables are
|
||||
|
||||
``BOREALIS_DATABASE_PATH`` path to the SQLite database file. Defaults to
|
||||
``<ProjectRoot>/database.db``.
|
||||
the Engine runtime copy under ``<ProjectRoot>/Engine/Data/Engine/database.db``.
|
||||
``BOREALIS_CORS_ORIGINS`` comma separated list of allowed origins for CORS.
|
||||
``BOREALIS_SECRET`` Flask session secret key.
|
||||
``BOREALIS_COOKIE_*`` Session cookie policies (``SAMESITE``, ``SECURE``,
|
||||
@@ -72,7 +72,7 @@ def _discover_project_root() -> Path:
|
||||
|
||||
|
||||
PROJECT_ROOT = _discover_project_root()
|
||||
DEFAULT_DATABASE_PATH = PROJECT_ROOT / "database.db"
|
||||
DEFAULT_DATABASE_PATH = PROJECT_ROOT / "Engine" / "Data" / "Engine" / "database.db"
|
||||
LOG_ROOT = PROJECT_ROOT / "Engine" / "Logs"
|
||||
LOG_FILE_PATH = LOG_ROOT / "engine.log"
|
||||
ERROR_LOG_FILE_PATH = LOG_ROOT / "error.log"
|
||||
|
||||
Reference in New Issue
Block a user