bogor-xplore-api / api /index.py
github-actions[bot]
Sync Flask API from GitHub bc680a947c36e452007a31f6fba72ee24ba28789
fbff2aa
Raw
History Blame Contribute Delete
178 Bytes
import sys
from pathlib import Path
ROOT_DIR = Path(__file__).resolve().parents[1]
if str(ROOT_DIR) not in sys.path:
sys.path.insert(0, str(ROOT_DIR))
from app import app