change production if statement
This commit is contained in:
parent
8b8bed75de
commit
6092bf4a08
@ -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: [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user