π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix Space static asset routing and caching
Anand Baburajan2c2ae0721783
diff --git a/web/apps/space/package.json b/web/apps/space/package.jsonindex 3c3035f122..8ae539ac83 100644--- a/web/apps/space/package.json+++ b/web/apps/space/package.json@@ -3,7 +3,6 @@"version": "0.0.0","private": true,"scripts": {- "build:post": "rm -f out/404.html","test": "vitest --run"},"dependencies": {diff --git a/web/apps/space/public/_headers b/web/apps/space/public/_headersindex bb61a2deeb..0aafc281f9 100644--- a/web/apps/space/public/_headers+++ b/web/apps/space/public/_headers@@ -9,7 +9,3 @@Referrer-Policy: no-referrerReporting-Endpoints: csp-endpoint="https://csp-reporter.ente.com"Content-Security-Policy: default-src 'self'; img-src 'self' blob: data:; media-src 'self' blob: data:; style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self' 'wasm-unsafe-eval' https://assets.ente.com/ffmpeg-core-0.12.10/ffmpeg-core.js; worker-src 'self' blob:; manifest-src 'self'; child-src 'self' blob:; object-src 'none'; connect-src 'self' https://*.ente.com https://*.ente.io https://space-api.ente-dev.com data: blob: https://*.s3.eu-central-003.backblazeb2.com https://*.s3.eu-central-2.wasabisys.com; base-uri 'self'; frame-ancestors 'none'; form-action 'none'; report-uri https://csp-reporter.ente.com; report-to csp-endpoint;--/_next/static/*- ! Cache-Control- Cache-Control: public, max-age=31536000, immutablediff --git a/web/apps/space/public/_redirects b/web/apps/space/public/_redirectsindex 552facd23c..eec8bb2e4c 100644--- a/web/apps/space/public/_redirects+++ b/web/apps/space/public/_redirects@@ -23,4 +23,3 @@/two-factor/verify /two-factor/verify 200/verify /verify 200/:spaceUsername /profile-link 200-/* /index.html 200diff --git a/web/package.json b/web/package.jsonindex f4a0cb7f26..2601b08014 100644--- a/web/package.json+++ b/web/package.json@@ -30,7 +30,7 @@"build:photos-wasm": "npm run build --workspace ente-photos-wasm","build:prelogin-wasm": "npm run build --workspace ente-prelogin-wasm","build:share": "npm run build:prelogin-wasm && npm exec --workspace share -- next build --webpack && npm run build:post --workspace share",- "build:space": "npm run build:prelogin-wasm && npm run build:space-wasm && npm exec --workspace space -- next build --webpack && npm run build:post --workspace space",+ "build:space": "npm run build:prelogin-wasm && npm run build:space-wasm && npm exec --workspace space -- next build --webpack","build:space-wasm": "npm run build --workspace ente-space-wasm","build:twoof3": "npm exec --workspace twoof3 -- next build --webpack","build:wasm": "npm run build:prelogin-wasm && npm run build:auth-wasm && npm run build:cast-wasm && npm run build:ensu-wasm && npm run build:legacy-wasm && npm run build:locker-wasm && npm run build:paste-wasm && npm run build:photos-wasm && npm run build:space-wasm",