Commit 58b16c12 authored by cazenave's avatar cazenave
Browse files

change environnement

parent 869e2da8
// public/config.js
window.config = {
publicPath: '',
apiURL: 'http://10.6.10.9'}
apiURL: http://fdp-api.f2ds.svc.cluster.local
}
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap" rel=stylesheet><script src=/app/config.js></script><link rel=icon href=/app/favicon.ico><title>EOSC-Pillar FAIR Data Point</title><link href=/app/css/app.3b04ddd3.css rel=preload as=style><link href=/app/js/app.fb8496d5.js rel=preload as=script><link href=/app/js/chunk-vendors.eeff047d.js rel=preload as=script><link href=/app/css/app.3b04ddd3.css rel=stylesheet></head><body><noscript><strong>We're sorry but fdp-client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/app/js/chunk-vendors.eeff047d.js></script><script src=/app/js/app.fb8496d5.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap" rel=stylesheet><script src=/app/config.js></script><link rel=icon href=/app/favicon.ico><title>EOSC-Pillar FAIR Data Point</title><link href=/app/css/app.835b235b.css rel=preload as=style><link href=/app/js/app.a05b368d.js rel=preload as=script><link href=/app/js/chunk-vendors.eeff047d.js rel=preload as=script><link href=/app/css/app.835b235b.css rel=stylesheet></head><body><noscript><strong>We're sorry but fdp-client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/app/js/chunk-vendors.eeff047d.js></script><script src=/app/js/app.a05b368d.js></script></body></html>
\ No newline at end of file
upstream fdp-api {
server 10.6.10.9;
server 51.178.69.147;
}
server {
......@@ -42,14 +42,14 @@ server {
break;
}
root /usr/share/nginx/html/app;
root /usr/share/nginx/html;
add_header Last-Modified "";
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html/app;
root /usr/share/nginx/html;
}
error_page 404 =200 /index.html;
......
// public/config.js
window.config = {
publicPath: '',
apiURL: 'http://10.6.10.9'}
apiURL: 'http://51.178.69.147/'
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment