Web API for Oblique Strategies.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

web-api.config.ts 295 B

1234567891011
  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. }