mirror of
https://github.com/funamitech/mastodon
synced 2024-12-11 13:19:01 +09: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';
|
|
}
|