Page MenuHomePhabricator

choose which app url facts to use based on request url
ClosedPublic

Authored by varun on Mar 11 2022, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 23, 11:39 AM
Unknown Object (File)
Sun, Jun 23, 10:30 AM
Unknown Object (File)
Sat, Jun 22, 3:29 PM
Unknown Object (File)
Fri, Jun 21, 11:59 PM
Unknown Object (File)
Fri, Jun 21, 11:59 PM
Unknown Object (File)
Fri, Jun 21, 11:57 PM
Unknown Object (File)
Fri, Jun 21, 11:40 PM
Unknown Object (File)
Thu, Jun 20, 5:17 PM

Details

Summary

use getAppURLFactsFromRequestURL to choose which app URL facts to use.

depends on D3406

Test Plan

flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks like Phabricator doesn't recognize "Depends on: Dsomething", it needs you to remove the colon and say "Depends on Dsomething"

tomek added a reviewer: ashoat.
tomek added inline comments.
server/src/responders/handlers.js
40–57 ↗(On Diff #10316)
This revision is now accepted and ready to land.Mar 16 2022, 9:11 PM
server/src/responders/handlers.js
40–57 ↗(On Diff #10316)

I don't think this works since the the first invocation of getAppURLFactsFromRequestURL is in the try block and the second invocation is in the catch block. I'm going to land this as is but can refactor in a separate diff if you feel strongly about it.