Page MenuHomePhabricator

[web] Make worker and wasm urls relative
ClosedPublic

Authored by michal on Oct 6 2023, 7:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 8:32 AM
Unknown Object (File)
Apr 5 2024, 11:03 AM
Unknown Object (File)
Apr 5 2024, 11:03 AM
Unknown Object (File)
Apr 5 2024, 11:03 AM
Unknown Object (File)
Apr 5 2024, 11:02 AM
Unknown Object (File)
Apr 5 2024, 10:53 AM
Unknown Object (File)
Mar 19 2024, 6:59 AM
Unknown Object (File)
Feb 19 2024, 6:46 PM
Subscribers

Details

Summary

Part of ENG-5153

We would like to separate hosting web app on dev environment to localhost:3000/webapp/ and the keyserver logic to localhost:3000/keyserver/. This means that we want to start we need to replace absolute URL (that point to localhost:3000/) with relative ones.

Depends on D9396

Test Plan

Run yarn dev and yarn prod and check that both notif and database workers are downloaded with /comm/workers/ (this will be changed in the later diffs). Also make sure that on yarn prod opaque-ke and olm wasm files are also loaded through /comm/

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 6 2023, 8:07 AM
Harbormaster failed remote builds in B23055: Diff 31744!

I would change the test plan to make sure files are actually downloaded, not read from the cache, otherwise, it looks good

This revision is now accepted and ready to land.Oct 16 2023, 3:17 AM