change production if statement
This commit is contained in:
parent
8b8bed75de
commit
6092bf4a08
@ -27,7 +27,7 @@ dotenv.config()
|
|||||||
app.use(cors())
|
app.use(cors())
|
||||||
|
|
||||||
const kubeconfig = new KubeConfig()
|
const kubeconfig = new KubeConfig()
|
||||||
if (process.env.NODE_ENV === "production") {
|
if (process.env.NODE_ENV !== "deployment") {
|
||||||
kubeconfig.loadFromOptions({
|
kubeconfig.loadFromOptions({
|
||||||
clusters: [
|
clusters: [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user