fixed server statup

pull/746/head
DJ2LS 2024-07-23 14:41:12 +02:00
parent 27cbbec455
commit 96eb559596
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
module.exports = {
transpileDependencies: true,
transpileDependencies: [],
publicPath: '/gui/'
}

View File

@ -59,7 +59,7 @@ app = FastAPI()
#setup_logging()
logger = structlog.get_logger()
source_gui_dir = "../freedata_gui/dist"
source_gui_dir = "freedata_gui/dist"
bundled_gui_dir = os.path.join(os.path.dirname(__file__), "gui")
# Check which directory exists and set gui_dir accordingly