Skip to content

Commit

Permalink
Update primoProxy.js
Browse files Browse the repository at this point in the history
fixed issue where some delivery Alma links were not proxied
  • Loading branch information
ShoulM authored Jun 26, 2023
1 parent ad78ad5 commit 226e312
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gulp/primoProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ module.exports.proxy_function = function () {
var loginRewriteFlags = (config.getSaml() || config.getCas()) ? 'RL' : 'PL';

return modRewrite([
'/view/action/(.*) ' + proxyServer + '/view/action/$1 [PL]',
'/primo_library/libweb/webservices/rest/(.*) ' + proxyServer + '/primo_library/libweb/webservices/rest/$1 [PL]',
'/primaws/rest/(.*) ' + proxyServer + '/primaws/rest/$1 [PL]',
'/primo_library/libweb/primoExploreLogin ' + proxyServer + '/primo_library/libweb/primoExploreLogin [' + loginRewriteFlags + ']',
Expand Down

0 comments on commit 226e312

Please sign in to comment.