Skip to content

Instantly share code, notes, and snippets.

@2rohityadav
Last active January 14, 2021 11:11
Show Gist options
  • Save 2rohityadav/cde692c9dc1ab1446e0754440a8b89d8 to your computer and use it in GitHub Desktop.
Save 2rohityadav/cde692c9dc1ab1446e0754440a8b89d8 to your computer and use it in GitHub Desktop.
constant.js
const prod = {
ENV: 'prod',
BASE_PATH:'/prod/',
BASE_URL: 'https://prod.com',
API_URL_USERS: 'https://prod.com/users'
};
const staging = {
ENV: 'staging',
BASE_PATH:'/staging/',
BASE_URL: 'https://staging.com',
API_URL_USERS: 'https://staging.com/users'
};
const dev = {
ENV: 'dev',
BASE_PATH:'/',
BASE_URL: 'http://localhost:8080'
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment