From f249642ba6767443ea1ae8428756f769cb632ab3 Mon Sep 17 00:00:00 2001 From: Pieter Verschaffelt Date: Wed, 1 Dec 2021 10:26:33 +0100 Subject: [PATCH] Update base URL to api.unipept --- package-lock.json | 4 ++-- src/App.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index d587b4f7..5bcd371f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "unipept-desktop", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "1.2.0", + "version": "1.2.1", "hasInstallScript": true, "dependencies": { "@babel/preset-env": "^7.6.0", diff --git a/src/App.vue b/src/App.vue index 93a3f3da..533ecdee 100644 --- a/src/App.vue +++ b/src/App.vue @@ -194,6 +194,7 @@ export default class App extends Vue implements ErrorListener { try { let config: Configuration = await configurationManager.readConfiguration(); NetworkConfiguration.BASE_URL = config.apiSource; + // Make sure that the old Unipept URL is no longer being used... if (NetworkConfiguration.BASE_URL === "https://unipept.ugent.be") { NetworkConfiguration.BASE_URL = "https://api.unipept.ugent.be"; }