change production if statement

This commit is contained in:
Ishaan Dey 2024-05-13 16:06:58 -07:00
parent 8b8bed75de
commit 6092bf4a08

View File

@ -27,7 +27,7 @@ dotenv.config()
app.use(cors())
const kubeconfig = new KubeConfig()
if (process.env.NODE_ENV === "production") {
if (process.env.NODE_ENV !== "deployment") {
kubeconfig.loadFromOptions({
clusters: [
{