mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-12-03 18:11:23 +03:00
15 lines
343 B
TypeScript
15 lines
343 B
TypeScript
/**
|
|
* Deployment environment utilities
|
|
*/
|
|
|
|
/**
|
|
* Check if the app is deployed to a static host (without API support)
|
|
*/
|
|
export const isStaticDeployment = __DEPLOY_ENV__ === 'static';
|
|
|
|
/**
|
|
* Check if API endpoints are available
|
|
*/
|
|
// export const hasApiEndpoints = !isStaticDeployment;
|
|
export const hasApiEndpoints = !isStaticDeployment;
|