HomePhabricator
Diffusion Comm 4855a48317c4

Use olm WASM with content hash on web in production

Description

Use olm WASM with content hash on web in production

Summary:
This differential fixes an urgent Linear issue: https://linear.app/comm/issue/ENG-5895/web-notification-decryption-error. Production web builds will use
olmFilename variable with content hash provided by the keyserver. Development builds will use default olm.wasm filename.

Test Plan:

  1. Clear all cache files for localhost:3000/comm. This step is necessary since production builds might have used olm WASM from cache populated by dev builds.
  2. Builds production web app.
  3. Ensure that notifications are encrypted (MariaDB console) and correctly decrypted on the keyserver.

Reviewers: michal

Reviewed By: michal

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10047

Details

Provenance
marcinAuthored on Nov 27 2023, 2:26 AM
Reviewer
michal
Differential Revision
D10047: Use olm WASM with content hash on web in production
Parents
rCOMM3038ee4e7aeb: [native] update baseNoDataAfterPolicyAcknowledgmentSelector check
Branches
Unknown
Tags
Unknown