Skip to content
Snippets Groups Projects
Commit 6d15005f authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Minor fixes. [skip-ci]

parent 04f1385a
No related branches found
No related tags found
1 merge request!1340.8.2 release
Pipeline #78055 skipped
......@@ -37,7 +37,7 @@ nomad parse --show-backend <your-file-to-parse>
### For NOMAD developer
Read the [docs](https://repository.nomad-coe.eu/app/docs). The documentation is also part
Read the [docs](https://repository.nomad-coe.eu/app/docs/index.html). The documentation is also part
of the source code. It covers aspects like introduction, architecture, development setup/deployment,
contributing, and API reference.
......
......@@ -166,7 +166,7 @@ def integrationtests(ctx, skip_parsers, skip_publish, skip_doi, skip_mirror):
'shared_with': [{'value': 'author3-id'}],
'datasets': [{'value': dataset}]}
payload = dict(actions=actions, query=dict(upload_id=upload.upload_id))
payload = dict(actions=actions, query=dict(upload_id=[upload.upload_id]))
result = client.repo.edit_repo(payload=payload).response().result
assert result.success
assert client.datasets.get_dataset(name=dataset).response().result['name'] == dataset
......
......@@ -36,6 +36,17 @@ data:
proxy_pass http://{{ include "nomad.fullname" . }}-app:8000;
}
location {{ .Values.proxy.external.path }}/docs/ {
proxy_intercept_errors on;
error_page 404 = @redirect_to_index_docs;
proxy_pass http://{{ include "nomad.fullname" . }}-app:8000;
}
location @redirect_to_index_docs {
rewrite ^ {{ .Values.proxy.external.path }}/docs/index.html break;
proxy_pass http://{{ include "nomad.fullname" . }}-app:8000;
}
location {{ .Values.proxy.external.path }}/encyclopedia/ {
proxy_intercept_errors on;
error_page 404 = @redirect_to_encyclopedia_index;
......
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