import * as path from 'path' ; export const IS_PROD_BUILD = ! ! process . env . HTTPTOOLKIT_SERVER_BINPATH ; export const APP_ROOT = path . join ( __dirname , '..' ) ; export const ALLOWED_ORIGINS = IS_PROD_BUILD ? [ /^https:\/\/app\.httptoolkit\.tech$/ ] : [ /^https?:\/\/localhost(:\d+)?$/ , /^http:\/\/local\.httptoolkit\.tech(:\d+)?$/ , /^https:\/\/app\.httptoolkit\.tech$/ ] ;