mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-29 11:30:28 -05:00
50188ad211
Port 277e6968f5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
8 lines
169 B
TypeScript
8 lines
169 B
TypeScript
export function isDevelopment() {
|
|
return process.env.NODE_ENV === 'development';
|
|
}
|
|
|
|
export function isProduction() {
|
|
return process.env.NODE_ENV === 'production';
|
|
}
|