Revert "feat: NODE_ENV is configured in the frontend" (#1186)

This commit is contained in:
Ankit Nayan 2022-05-20 18:08:20 +02:00 committed by GitHub
parent 6e2afe1c78
commit 973ef56c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -3,5 +3,4 @@ export const ENVIRONMENT = {
process?.env?.FRONTEND_API_ENDPOINT ||
process?.env?.GITPOD_WORKSPACE_URL?.replace('://', '://8080-') ||
'',
NODE_ENV: process?.env?.NODE_ENV,
};

View File

@ -3,7 +3,6 @@ declare global {
namespace NodeJS {
interface ProcessEnv {
FRONTEND_API_ENDPOINT: string | undefined;
NODE_ENV: 'development' | 'production' | 'test';
}
}
}