coyotte508 commited on
Commit
b6543fb
Β·
1 Parent(s): 3575ef9

πŸ”Š Log hasAccess

Browse files
Files changed (1) hide show
  1. server.ts +1 -0
server.ts CHANGED
@@ -36,6 +36,7 @@ app.use(async (ctx) => {
36
  if ("hasStorageAccess" in document) {
37
  storageAccess.innerText = "Yes";
38
  document.hasStorageAccess().then((hasAccess) => {
 
39
  pageCanStoreCookies.innerText = hasAccess ? "Yes" : "No";
40
  if (!hasAccess) {
41
  requestStorageAccess.style.display = "block";
 
36
  if ("hasStorageAccess" in document) {
37
  storageAccess.innerText = "Yes";
38
  document.hasStorageAccess().then((hasAccess) => {
39
+ console.log("has access", hasAccess);
40
  pageCanStoreCookies.innerText = hasAccess ? "Yes" : "No";
41
  if (!hasAccess) {
42
  requestStorageAccess.style.display = "block";