FIX: Add `/session/sso` service-worker workaround for chrome 97 (#15630)
Followup to 2278c7f82d
. Depending on the site's SSO implementation, this route is also used as part of a redirect sequence and needs to be able to set cookies.
Chrome bug reference: https://bugs.chromium.org/p/chromium/issues/detail?id=1286367
This commit is contained in:
parent
f2902d3830
commit
235de5dd90
|
@ -7,7 +7,7 @@ workbox.setConfig({
|
||||||
debug: false
|
debug: false
|
||||||
});
|
});
|
||||||
|
|
||||||
var authUrls = ["auth", "session/sso_login"].map(path => `<%= Discourse.base_path %>/${path}`);
|
var authUrls = ["auth", "session/sso_login", "session/sso"].map(path => `<%= Discourse.base_path %>/${path}`);
|
||||||
|
|
||||||
var cacheVersion = "1";
|
var cacheVersion = "1";
|
||||||
var discourseCacheName = "discourse-" + cacheVersion;
|
var discourseCacheName = "discourse-" + cacheVersion;
|
||||||
|
|
Loading…
Reference in New Issue