Spaces:
Sleeping
Sleeping
coyotte508
commited on
Commit
Β·
b6543fb
1
Parent(s):
3575ef9
π Log hasAccess
Browse files
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";
|