
* add example config dir, logos, and update CONTRIBUTING.md * update dockerignore * split base_url into dashboard_url and base_domain * Remove unessicary ports * Allow anything for the ip * Update docker tags * Complex regex for domains/ips * update gitignore --------- Co-authored-by: Owen Schwartz <owen@txv.io>
11 lines
385 B
TypeScript
11 lines
385 B
TypeScript
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
import { existsSync } from "fs";
|
|
|
|
export const __FILENAME = fileURLToPath(import.meta.url);
|
|
export const __DIRNAME = path.dirname(__FILENAME);
|
|
|
|
export const APP_PATH = path.join("config");
|
|
|
|
export const configFilePath1 = path.join(APP_PATH, "config.yml");
|
|
export const configFilePath2 = path.join(APP_PATH, "config.yaml");
|