Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tech debt: api routing silliness #186

Open
iameli opened this issue Jul 9, 2020 · 0 comments
Open

tech debt: api routing silliness #186

iameli opened this issue Jul 9, 2020 · 0 comments

Comments

@iameli
Copy link
Collaborator

iameli commented Jul 9, 2020

I made a few last minute changes to get API things routing to the worker or upstream server as appropriate. https://github.com/livepeer/livepeerjs/blob/master/packages/api/src/app-router.js#L134

These are pretty ugly. Let's figure out a better way to configure this, probably by having a single list of path-to-regexp strings that control which route goes where.

@adamsoffer adamsoffer transferred this issue from livepeer/livepeer-monorepo Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants