Development

This commit is contained in:
Matthew Grotke 2026-06-11 01:56:55 -04:00
parent 337c0daf22
commit c70bcfb292

View file

@ -4,6 +4,7 @@ import sqlite3 as _sqlite3
from datetime import datetime, timezone from datetime import datetime, timezone
from flask import session from flask import session
import settings as _settings
APP_DIR = _os.path.dirname(_os.path.abspath(__file__)) APP_DIR = _os.path.dirname(_os.path.abspath(__file__))
CONFIGS_DIR = _settings.routlin_location() CONFIGS_DIR = _settings.routlin_location()
DATA_DIR = '/data' DATA_DIR = '/data'
@ -21,7 +22,6 @@ HEALTH_FILE = f'{CONFIGS_DIR}/.health'
DNS_METRICS_DB = f'{CONFIGS_DIR}/.dns-metrics' DNS_METRICS_DB = f'{CONFIGS_DIR}/.dns-metrics'
DNS_QUERIES_DB = f'{CONFIGS_DIR}/.dns-queries' DNS_QUERIES_DB = f'{CONFIGS_DIR}/.dns-queries'
BLOCKLISTS_DIR = f'{CONFIGS_DIR}/blocklists' BLOCKLISTS_DIR = f'{CONFIGS_DIR}/blocklists'
import settings as _settings
PRODUCT_NAME = _settings.product_name() PRODUCT_NAME = _settings.product_name()
WEB_APP_DISPLAY_NAME = _settings.web_app_display_name() WEB_APP_DISPLAY_NAME = _settings.web_app_display_name()
DASHB_TIMER_NAME = f'{PRODUCT_NAME}-dashboard-queue' DASHB_TIMER_NAME = f'{PRODUCT_NAME}-dashboard-queue'