Skip to content

Conversation

@abhishek2021005
Copy link
Collaborator

No description provided.

}

const SERVER_TO_ADDRESS = {
export const SERVER_TO_ADDRESS = {
Copy link
Collaborator

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']

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants