mirror of
https://github.com/funamitech/mastodon
synced 2024-12-15 23:28:31 +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';
|
|
}
|