mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-28 18:13:42 +01:00
50188ad211
Port 277e6968f5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
7 lines
169 B
TypeScript
7 lines
169 B
TypeScript
export function isDevelopment() {
|
|
return process.env.NODE_ENV === 'development';
|
|
}
|
|
|
|
export function isProduction() {
|
|
return process.env.NODE_ENV === 'production';
|
|
}
|