From c5aa26d94d596e63eacf3fcd5b48d18e4d04d313 Mon Sep 17 00:00:00 2001 From: Huey Date: Wed, 16 Jun 2021 16:51:32 +0800 Subject: [PATCH] possibly fix NUS and SMU proxy logins --- package.json | 4 ++-- src/Popup/ExternalLinks.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 927d05b..bd4216a 100644 --- a/package.json +++ b/package.json @@ -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", @@ -133,4 +133,4 @@ "wext-manifest-loader": "^2.3.0", "wext-manifest-webpack-plugin": "^1.2.1" } -} +} \ No newline at end of file diff --git a/src/Popup/ExternalLinks.tsx b/src/Popup/ExternalLinks.tsx index ca6eff4..7353440 100644 --- a/src/Popup/ExternalLinks.tsx +++ b/src/Popup/ExternalLinks.tsx @@ -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]}