This continues a consistency update we’ve been making to standardize on URL based on a recommendation from WHATWG: https://url.spec.whatwg.org/#goals This also helps with copying and pasting between all-badge-examples and new-style services, where it’s otherwise easy to make a mistake. Ref: #1322 #1341
7 lines
162 B
JavaScript
7 lines
162 B
JavaScript
import envFlag from 'node-env-flag'
|
|
|
|
const baseUrl = process.env.BASE_URL
|
|
const longCache = envFlag(process.env.LONG_CACHE, false)
|
|
|
|
export { baseUrl, longCache }
|