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)
Tue, Nov 26, 9:54 PM
Unknown Object (File)
Tue, Nov 26, 12:20 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:07 AM
Unknown Object (File)
Wed, Nov 6, 7:03 PM
Unknown Object (File)
Wed, Nov 6, 7:03 PM
Unknown Object (File)
Tue, Nov 5, 1:24 AM

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.