anomaly-express
Version:
Anomaly Express is a security framework for Express.js that provides a set of tools and utilities to help you build secure applications.
16 lines (15 loc) • 723 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FETCH_POLICIES_INTERVAL_IN_SECONDS = exports.FETCH_POLICIES_ENDPOINT = exports.REQUEST_COLLECTION_ENDPOINT = void 0;
const environment = "production";
exports.REQUEST_COLLECTION_ENDPOINT =
// @ts-ignore
environment === "production"
? "https://anomaly-request-collector-api-233311529656.europe-west1.run.app/collect-request"
: "http://localhost:3001/collect-request";
exports.FETCH_POLICIES_ENDPOINT =
// @ts-ignore
environment === "production"
? "https://anomaly-read-clickhouse-api-233311529656.europe-west1.run.app/get-policies"
: "http://localhost:3002/get-policies";
exports.FETCH_POLICIES_INTERVAL_IN_SECONDS = 60;