-
Notifications
You must be signed in to change notification settings - Fork 21
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
Don't add launch_prefix_url to .env #137
Conversation
Codecov Report
@@ Coverage Diff @@
## master #137 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 25 25
Lines 619 618 -1
Branches 82 82
=========================================
- Hits 619 618 -1
Continue to review full report at Codecov.
|
utils.appendOrWrite( | ||
this, | ||
this.destinationPath(dotenvFilename), | ||
`## URL prefix used to run your application in the Adobe Experience Cloud Shell | ||
AIO_LAUNCH_URL_PREFIX="https://experience.adobe.com/?devMode=true#/custom-apps/?localDevUrl=" | ||
AIO_LAUNCH_URL_PREFIX="${launchPrefix}" |
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.
Should we remove this one from the .env, in adobe/aio-cli-plugin-app#396 you already set the default.
If someone inits an app in stage and then wants to switch to prod he needs to edit that line in the .env
. If we don't include it then app plugin will be able to set the correct default
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 agree. These kind of overrides could just be documented instead of actually putting in .env.
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.
👍 for doc so then feel free to remove the env var 🙂
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.
lgtm, thanks for the change
Description
This is already being handled in aio-cli-plugin-app
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: