-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(feat) Add support for local configuration in development environment #1044
Conversation
Size Change: -507 kB (-12.59%) 👏 Total Size: 3.52 MB
ℹ️ View Unchanged
|
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.
Looks good, thanks @chibongho !
Thanks @brandones . I made this a few months ago, but can no longer test it as I'll keep this unmerged for now until someone verifies that it still works fine. |
I made some other adjustments (renaming path -> file), but AFAICT, the only thing we really needed here was this: - res.contentType('application/json').send(readFileSync(resolve(path)));
+ res.contentType('application/json').send(readFileSync(resolve(process.cwd(), file))); |
PS I think from core |
Requirements
feat
,fix
, orchore
, among others). See existing PR titles for inspiration.For changes to apps
If applicable
Summary
Screenshots
Related Issue
Other