EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 80aea988 authored by Stephan's avatar Stephan
Browse files

use index.html like a template

parent 9688739d
No related branches found
No related tags found
2 merge requests!37Chart,!36Staging to master to prepare 1.0.0 release
......@@ -17,12 +17,12 @@
<div id="app" style="width: 100%; top: 60px; bottom: 0; position: absolute; margin: 0; padding:0;"></div>
<script src="prism.js"></script>
<script>
var baseUrl = '//vhr18-dev.vs.hub.eox.at/';
var baseUrl = '//{{ index (index .Values.ingress.tls 0).hosts 0 }}/';
var baseUrlsWMTS = [
'//vhr18-dev.vs.hub.eox.at/cache/ows/wmts',
'//{{ index (index .Values.ingress.tls 0).hosts 0 }}/cache/ows/wmts',
];
var baseUrlsOws = [
'//vhr18-dev.vs.hub.eox.at/ows',
'//{{ index (index .Values.ingress.tls 0).hosts 0 }}/ows',
];
var config = {
"settings": {
......@@ -274,7 +274,7 @@ var config = {
// "method": "GET",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"from": "({{ "{{" }}id}})",
"to": "$1__coverage"
}
}
......@@ -369,7 +369,7 @@ var config = {
// "method": "GET",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"from": "({{ "{{" }}id}})",
"to": "$1__coverage"
}
}
......
......@@ -3,4 +3,4 @@ kind: ConfigMap
metadata:
name: {{ include "vs.fullname" . }}-client
data:
{{ (.Files.Glob "files/index.html").AsConfig | nindent 2}}
{{ (tpl (.Files.Glob "files/index.html").AsConfig . ) | nindent 2}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment