FastGPT/packages/service/common/system/constants.ts
Archer 0490b83b9e
Some checks failed
deploy-docs / deploy-production (push) Has been cancelled
Build docs images and copy image to docker hub / build-fastgpt-docs-images (push) Has been cancelled
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
Release / helm (push) Has been cancelled
Sync images / sync (push) Has been cancelled
Build docs images and copy image to docker hub / update-docs-image (push) Has been cancelled
fix doc images (#1083)
* perf: clear tmp files

* fix doc images

* update docker-compose
2024-03-28 10:17:28 +08:00

4 lines
154 B
TypeScript

export const FastGPTProUrl = process.env.PRO_URL ? `${process.env.PRO_URL}/api` : '';
export const isProduction = process.env.NODE_ENV === 'production';