From 22948ddd0843bfcc06d2284801ab8175e8199835 Mon Sep 17 00:00:00 2001
From: cazenave <cazenave@cines.fr>
Date: Fri, 21 Aug 2020 14:25:23 +0200
Subject: [PATCH] ingress controller

---
 nginx/default.conf | 2 +-
 public/config.js   | 2 +-
 src/main.ts        | 2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/nginx/default.conf b/nginx/default.conf
index b64791ea..9479dba2 100644
--- a/nginx/default.conf
+++ b/nginx/default.conf
@@ -1,5 +1,5 @@
 upstream fdp-api {
-    server nginx-ingress-1591800447-controller.default.svc.cluster.local;
+    server localhost; #  ingress controller fdp-api
 }
 
 server {
diff --git a/public/config.js b/public/config.js
index 5cc7bee0..00541e01 100644
--- a/public/config.js
+++ b/public/config.js
@@ -1,4 +1,4 @@
 // public/config.js
 window.config = {
   publicPath: '',
-  apiURL: 'http://6epato5ckc.lb.c1.gra7.k8s.ovh.net'}
+  apiURL: 'http://localhost'} // ingress controller fdp-api
diff --git a/src/main.ts b/src/main.ts
index 84753578..2ef13c25 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -33,5 +33,3 @@ api.configs.getBootstrap()
       render: h => h(App),
     }).$mount('#app')
   })
-
-
-- 
GitLab