Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
Update DOI service proxying
Browse files Browse the repository at this point in the history
  • Loading branch information
jabrah committed Jan 6, 2023
1 parent b17a573 commit 358c4ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/proxies.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ module.exports = function (app, apiProxy, config) {
});

// This points to the doi service in core
app.all('/journal', ensureAuthenticated, function (req, res) {
app.all('/doi/journal', ensureAuthenticated, function (req, res) {
apiProxy.web(req, res, { target: config.app.serviceUrls.doiServiceUrl });
});

app.all('/downloadservice/*', ensureAuthenticated, function (req, res) {
app.all('/doi/manuscript', ensureAuthenticated, function (req, res) {
apiProxy.web(req, res, {
target: config.app.serviceUrls.downloadServiceUrl,
});
Expand Down

0 comments on commit 358c4ed

Please sign in to comment.