Page MenuHomePhabricator

use landing base route path to construct endpoints
ClosedPublic

Authored by varun on Mar 11 2022, 2:58 PM.
Tags
None
Referenced Files
F3378688: D3414.id10499.diff
Wed, Nov 27, 12:28 PM
F3378458: D3414.diff
Wed, Nov 27, 10:43 AM
F3376022: D3414.id.diff
Tue, Nov 26, 9:54 PM
Unknown Object (File)
Sun, Nov 10, 12:12 AM
Unknown Object (File)
Sun, Nov 10, 12:12 AM
Unknown Object (File)
Sun, Nov 10, 12:06 AM
Unknown Object (File)
Wed, Nov 6, 11:37 AM
Unknown Object (File)
Wed, Nov 6, 11:36 AM

Details

Summary

we should avoid hardcoding paths like /commlanding/. instead we should get the paths from the landing_url.json file.

depends on D3413

Test Plan

flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Mar 11 2022, 3:03 PM
server/src/server.js
60 ↗(On Diff #10318)

Should the / here (and in similar spots below) be replaced with squadCalBaseRoutePath? I guess you'll have to pull all of that stuff out in a later diff anyways, so it doesn't make sense to update here

tomek added a reviewer: ashoat.
This revision is now accepted and ready to land.Mar 16 2022, 9:12 PM