Skip to content

Commit

Permalink
possibly fix NUS and SMU proxy logins
Browse files Browse the repository at this point in the history
  • Loading branch information
hueyy committed Jun 16, 2021
1 parent 62d3744 commit c5aa26d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clerkent",
"version": "2.7.1",
"version": "2.7.2",
"private": true,
"description": "quick search for international caselaw and legislation",
"repository": "https://github.com/lacuna-technologies/clerkent.git",
Expand Down Expand Up @@ -133,4 +133,4 @@
"wext-manifest-loader": "^2.3.0",
"wext-manifest-webpack-plugin": "^1.2.1"
}
}
}
4 changes: 2 additions & 2 deletions src/Popup/ExternalLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const getLawNetURL = (
institution: OptionsSettings[`OPTIONS_INSTITUTIONAL_LOGIN`],
query: string,
) => (new Proxy({
NUS: `https://www-lawnet-sg.lawproxy1.nus.edu.sg/?clerkent-query=${query}`,
SMU: `https://www-lawnet-sg.libproxy.smu.edu.sg/?clerkent-query=${query}`,
NUS: `https://proxylogin.nus.edu.sg/lawproxy1/public/login.asp?logup=false&url=https://www.lawnet.sg/lawnet/web/lawnet/ip-access?clerkent-query=${query}`,
SMU: `https://login.libproxy.smu.edu.sg/login?auth=shibboleth&url=https://www.lawnet.sg/lawnet/web/lawnet/ip-access?clerkent-query=${query}`,
}, {
get(target, property) {
if(property in target) {return target[property as string]}
Expand Down

0 comments on commit c5aa26d

Please sign in to comment.