loadbalancer fixes

This commit is contained in:
Zsolt Ero
2024-06-24 16:42:40 +02:00
parent 8c938f9bb1
commit 5f27cade7a
4 changed files with 39 additions and 13 deletions

View File

@@ -0,0 +1,9 @@
from pathlib import Path
if Path('/data/ofm/config').exists():
OFM_CONFIG_DIR = Path('/data/ofm/config')
else:
OFM_CONFIG_DIR = Path(__file__).parent.parent.parent.parent / 'config'
assert OFM_CONFIG_DIR.exists()