Web API for Oblique Strategies.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
295 B

  1. export type Meta = {
  2. port: number | string;
  3. env: string;
  4. address: string;
  5. }
  6. export namespace meta {
  7. export const port: (number | string) = process.env.PORT ?? 8080;
  8. export const env = process.env.NODE_ENV ?? 'development';
  9. export const address = process.env.ADDRESS ?? '0.0.0.0';
  10. }