Failed to execute template. Cause: [Access denied when checking [script] access to [xwiki:Collaboratory.UX.HbpSkin.WebHome] for user [xwiki:XWiki.Admin]]. Click on this message for details.

LiveTableServiceWorker - HBP Wiki

IAM21 instance, do not create collab nor modify a team, your changes will be lost


Changes for page LiveTableServiceWorker

Last modified by bougault on 2022/03/22 17:19

From version 4.84
edited by bougault
on 2022/03/22 16:13
Change comment: There is no comment for this version
To version 4.85
edited by bougault
on 2022/03/22 16:14
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -23,6 +23,7 @@
23 23  */
24 24  self.addEventListener("fetch", (e) => {
25 25   const pathname = new URL(event.request.url).pathname;
26 + console.log("sw", pathname);
26 26   if(pathname === "/getMembershipRequests") {
27 27   const res = new Response("custom response");
28 28   e.respondWith(res);