HomePhabricator
Diffusion Comm 453a8a435a27

[server] Add baseRoutePath to app URL config JSON

Description

[server] Add baseRoutePath to app URL config JSON

Summary: Just basePath (external) isn't enough – to properly detect what external URL triggered the request, we need to check if the internal URL starts with a particular baseRoutePath. We also need this in order to find/replace the internal URL so we can get the external URL.

Test Plan: This diff was tested in combination with the following diffs. On its own, it just changes a type

Reviewers: varun, atul, palys-swm

Reviewed By: varun

Subscribers: Adrian, karol-bisztyga, benschac, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3547

Details

Provenance
ashoatAuthored on Mar 29 2022, 2:01 PM
Reviewer
varun
Differential Revision
D3547: [server] Add baseRoutePath to app URL config JSON
Parents
rCOMMddbceea65a9d: [docs][server] update dev environment docs to reflect changes to the url json…
Branches
Unknown
Tags
Unknown