xsshunter/constants.js

19 lines
658 B
JavaScript
Raw Permalink Normal View History

2021-05-31 19:06:40 +00:00
const API_BASE_PATH = `/api/v1/`;
const ADMIN_PASSWORD_SETTINGS_KEY = 'ADMIN_PASSWORD';
const CORRELATION_API_SECRET_SETTINGS_KEY = 'CORRELATION_API_KEY';
const CHAINLOAD_URI_SETTINGS_KEY = 'CHAINLOAD_URI';
const PAGES_TO_COLLECT_SETTINGS_KEY = 'PAGES_TO_COLLECT';
const SEND_ALERT_EMAILS_KEY = 'SEND_ALERT_EMAILS';
const session_secret_key = 'SESSION_SECRET';
const csrf_header_name = 'X-CSRF-Buster';
module.exports = {
API_BASE_PATH,
session_secret_key,
ADMIN_PASSWORD_SETTINGS_KEY,
CORRELATION_API_SECRET_SETTINGS_KEY,
CHAINLOAD_URI_SETTINGS_KEY,
PAGES_TO_COLLECT_SETTINGS_KEY,
SEND_ALERT_EMAILS_KEY,
csrf_header_name,
};