Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Support path tokens for public album web links

Anand Baburajanc47b487270b3
diff --git a/web/apps/albums/public/.well-known/apple-app-site-association b/web/apps/albums/public/.well-known/apple-app-site-association
index 9aa9da9900..ba6e9adec5 100644
--- a/web/apps/albums/public/.well-known/apple-app-site-association
+++ b/web/apps/albums/public/.well-known/apple-app-site-association
@@ -12,6 +12,11 @@
"?": { "t": "*" },
"#": "*",
"comment": "Matches URLs with no path, any query item 't', and any or no fragment"
+ },
+ {
+ "/": "/??????????",
+ "#": "*",
+ "comment": "Matches URLs with a path token and any or no fragment"
}
]
}
diff --git a/web/apps/albums/public/_redirects b/web/apps/albums/public/_redirects
index 1ae3066fe3..fbaae58c90 100644
--- a/web/apps/albums/public/_redirects
+++ b/web/apps/albums/public/_redirects
@@ -4,4 +4,3 @@
/.well-known/* /.well-known/:splat 200
/robots.txt /robots.txt 200
/:token / 200
-/:token/ / 200