Skip to content

Commit

Permalink
Enable doi.psi.ch domain to point to k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic authored Jan 4, 2023
1 parent 8e2fd2a commit d7ac11e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions helm_configs/backend/config.local.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// catamel-psiconfig
"use strict";
var doiServer = process.env.ENV !== "production" ? "2" : "";
var envOAIProvider = "https://doi" + (doiServer) + ".psi.ch/oaipmh/oai/Publication";
var p = require("../package.json");
var version = p.version.split(".").shift();
module.exports = {
Expand All @@ -10,7 +8,6 @@ module.exports = {
port: process.env.PORT || 3000,
pidPrefix: "20.500.11935",
doiPrefix: "10.16907",
oaiProviderRoute: envOAIProvider,
policyPublicationShiftInYears: 3,
policyRetentionShiftInYears: 10,
metadataKeysReturnLimit: 100,
Expand Down
2 changes: 1 addition & 1 deletion helm_configs/landing-page-server/production/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
host: oaipmh-prod.qa.psi.ch
host: doi.psi.ch

secrets:
"{{ .Release.Name }}-s":
Expand Down
2 changes: 1 addition & 1 deletion helm_configs/oaipmh/production/values.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
host: oaipmh-prod.qa.psi.ch
host: doi.psi.ch

0 comments on commit d7ac11e

Please sign in to comment.