Skip to content

armgit / ente

Public Imported from GitHub
0

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

Restore albums web public assets

Anand Baburajan335420bea9e4
diff --git a/web/apps/albums/public/.well-known/apple-app-site-association b/web/apps/albums/public/.well-known/apple-app-site-association
new file mode 100644
index 0000000000..0459eac4f7
--- /dev/null
+++ b/web/apps/albums/public/.well-known/apple-app-site-association
@@ -0,0 +1,29 @@
+{
+ "applinks": {
+ "apps": [],
+ "details": [
+ {
+ "appIDs": [
+ "6Z68YJY9Q2.io.ente.frame"
+ ],
+ "components": [
+ {
+ "/": "/",
+ "?": { "t": "*" },
+ "#": "*",
+ "comment": "Matches URLs with no path, any query item 't', and any or no fragment"
+ }
+ ]
+ }
+ ]
+ },
+ "webcredentials": {
+ "apps": [
+ "6Z68YJY9Q2.io.ente.frame",
+ "6Z68YJY9Q2.io.ente.auth",
+ "2BUSYC7FN9.io.ente.frame",
+ "2BUSYC7FN9.io.ente.auth"
+ ]
+ }
+}
+
diff --git a/web/apps/albums/public/.well-known/assetlinks.json b/web/apps/albums/public/.well-known/assetlinks.json
new file mode 100644
index 0000000000..735fe8f3ca
--- /dev/null
+++ b/web/apps/albums/public/.well-known/assetlinks.json
@@ -0,0 +1,60 @@
+[
+ {
+ "relation": ["delegate_permission/common.get_login_creds"],
+ "target": { "namespace": "photos-web", "site": "https://web.ente.io" }
+ },
+ {
+ "relation": ["delegate_permission/common.get_login_creds"],
+ "target": { "namespace": "auth-web", "site": "https://auth.ente.io" }
+ },
+ {
+ "relation": ["delegate_permission/common.get_login_creds"],
+ "target": {
+ "namespace": "android_app",
+ "package_name": "io.ente.photos.independent",
+ "sha256_cert_fingerprints": [
+ "35:ED:56:81:B7:0B:B3:BD:35:D9:0D:85:6A:F5:69:4C:50:4D:EF:46:AA:D8:3F:77:7B:1C:67:5C:F4:51:35:0B"
+ ]
+ }
+ },
+ {
+ "relation": ["delegate_permission/common.get_login_creds"],
+ "target": {
+ "namespace": "android_app",
+ "package_name": "io.ente.photos",
+ "sha256_cert_fingerprints": [
+ "35:ED:56:81:B7:0B:B3:BD:35:D9:0D:85:6A:F5:69:4C:50:4D:EF:46:AA:D8:3F:77:7B:1C:67:5C:F4:51:35:0B"
+ ]
+ }
+ },
+ {
+ "relation": ["delegate_permission/common.handle_all_urls"],
+ "target": {
+ "namespace": "android_app",
+ "package_name": "io.ente.photos",
+ "sha256_cert_fingerprints": [
+ "37:D4:0B:10:3B:BF:86:43:EB:AE:23:B3:BB:73:F8:65:B4:E9:3A:BF:65:45:EF:37:12:8A:4C:EA:5B:C2:7E:2E"
+ ]
+ }
+ },
+ {
+ "relation": ["delegate_permission/common.handle_all_urls"],
+ "target": {
+ "namespace": "android_app",
+ "package_name": "io.ente.photos.independent",
+ "sha256_cert_fingerprints": [
+ "37:D4:0B:10:3B:BF:86:43:EB:AE:23:B3:BB:73:F8:65:B4:E9:3A:BF:65:45:EF:37:12:8A:4C:EA:5B:C2:7E:2E"
+ ]
+ }
+ },
+ {
+ "relation": ["delegate_permission/common.get_login_creds"],
+ "target": {
+ "namespace": "android_app",
+ "package_name": "io.ente.auth",
+ "sha256_cert_fingerprints": [
+ "DD:CE:AA:D6:88:F0:05:D3:40:68:94:BA:00:FC:E3:FF:82:54:13:0A:10:2B:B2:52:E6:3C:D8:EA:A9:72:B2:EF"
+ ]
+ }
+ }
+]
diff --git a/web/apps/albums/public/_headers b/web/apps/albums/public/_headers
new file mode 100644
index 0000000000..f2bdb24f20
--- /dev/null
+++ b/web/apps/albums/public/_headers
@@ -0,0 +1,9 @@
+/*
+ Cache-Control: no-store, must-revalidate
+ Strict-Transport-Security: max-age=63072000
+ X-Content-Type-Options: nosniff
+ X-Download-Options: noopen
+ X-Frame-Options: deny
+ X-XSS-Protection: 1; mode=block
+ Reporting-Endpoints: csp-endpoint="https://csp-reporter.ente.io"
+ Content-Security-Policy-Report-Only: default-src 'self'; img-src 'self' blob: data: https://*.openstreetmap.org https://*.stadiamaps.com; media-src 'self' blob: data:; style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self' https://assets.ente.io 'unsafe-eval' blob:; manifest-src 'self'; child-src 'self' blob:; object-src 'none'; connect-src 'self' https://*.ente.io data: blob: https://*.s3.eu-central-003.backblazeb2.com https://*.s3.eu-central-2.wasabisys.com https://*.stadiamaps.com; base-uri 'self'; frame-ancestors 'none'; form-action 'none'; report-uri https://csp-reporter.ente.io; report-to csp-endpoint;
diff --git a/web/apps/albums/public/images/favicon.png b/web/apps/albums/public/images/favicon.png
new file mode 100644
index 0000000000..deb25a1c3b
Binary files /dev/null and b/web/apps/albums/public/images/favicon.png differ
diff --git a/web/apps/albums/public/images/preview.jpg b/web/apps/albums/public/images/preview.jpg
new file mode 100644
index 0000000000..2e3d9f1da4
Binary files /dev/null and b/web/apps/albums/public/images/preview.jpg differ
diff --git a/web/apps/albums/public/robots.txt b/web/apps/albums/public/robots.txt
new file mode 100644
index 0000000000..5e1daca277
--- /dev/null
+++ b/web/apps/albums/public/robots.txt
@@ -0,0 +1,3 @@
+User-agent: *
+Allow: /.well-known/*
+Disallow:
\ No newline at end of file