xsshunter/constants.js
Matthew Bryant (mandatory) 2f37219d8a first commit
2021-05-31 12:06:40 -07:00

19 lines
No EOL
658 B
JavaScript

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,
};