fedicrawl/application/src/Fediverse/getCrawlingVersion.ts

6 wiersze
160 B
TypeScript

const CRAWLING_VERSION = 0
export default function getCrawlingVersion (): number {
return CRAWLING_VERSION + parseInt(process.env.CRAWLING_VERSION ?? '0')
}