Sebavan Posted August 22, 2018 Share Posted August 22, 2018 The web server should authorize serving .env files. I never tried with webpack server. .env should be considered like png or jpg external static resources. In IIS for instance they need to be explicitely declared in web.config but I do not know for other servers ? Quote Link to comment Share on other sites More sharing options...
olsibob Posted August 22, 2018 Share Posted August 22, 2018 What would the mimetype be for .env files? 'application/octet-stream' or 'application/env'? Quote Link to comment Share on other sites More sharing options...
Sebavan Posted August 22, 2018 Share Posted August 22, 2018 application/octet-stream is fine as we are parsing as binary ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.