Skip to content

Commit

Permalink
Update base URL to api.unipept
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha committed Dec 1, 2021
1 parent 32ff3b9 commit f249642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit f249642

Please sign in to comment.