-
Notifications
You must be signed in to change notification settings - Fork 4
header passing mechanism shifted to browser cookies #840
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
base: main
Are you sure you want to change the base?
Conversation
… suggestions and other fixes
spec/src/lib/lmp.ts
Outdated
| } | ||
|
|
||
| const SERVER_TO_ADDRESS = { | ||
| export const SERVER_TO_ADDRESS = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a good name when it is exported. Take a look at this import:
import { SERVER_TO_ADDRESS } from '@alea/spec';
the name doesn't tell you which servers it is referring to (but did makes sense when it was limited to this file).
I would actually suggest moving this to the lmp-redirect.ts API where it is needed (and not export it at all). Here we can just use process.env['NEXT_PUBLIC_AUTH_SERVER_URL']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okk
No description provided.