Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
@W-16442332@ Add support for environment level base path (the base path for /mobify routes) #1970
@W-16442332@ Add support for environment level base path (the base path for /mobify routes) #1970
Changes from 2 commits
f4f4207
a84ca50
3da7260
e3c9529
4ee69de
f08d5ab
c87f4d4
2c8f932
d4debd5
eb6b2cd
b5f98f4
c3175bd
b443b33
bff2cd4
1d639c2
fc3e8b0
afeed04
7c1c48a
549ca8d
1d96b0e
4d8fc73
d20e099
25cccab
268f6d7
c9af5eb
a829dfb
1400175
5183e01
6f52df8
802055d
5dd6dbe
b75cc76
9eaa191
32fcd2f
16e8835
cf475d3
f91b4ba
4927f21
a442ddd
b7e6339
ca4b260
23c2151
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Do we expect to find a default fallback
envBasePath
in the config?If we do, shouldn't we print an error in console so users know that the expected configuration was not found?
Something like:
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.
I tried adding a logger.error but then the client side attempt to invoke logger as well and the logger does not exist client side.
For now, I have set a console.log to print an error of envBasePath isn't a string.
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.
The logger does exist on the client-side as well. It's just a wrapper around Node's
console
object.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.
Do we intend to also keep
ssrNamespace
as part of the deprecated variables?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.
Urk, good catch. It was exported so we should keep it as a deprecated variable like the others
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.
Do we need to be concerned about ip values for local host? like
127.0.0.1
for macs? If so we might want to implement this in an sdk somewhere so we don't over complicate this component.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.
code removed