HOST in .env file #487
pierreberchtold
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
@pierreberchtold thank you very much for your idea! It seems that you are talking about the current Flynt next branch, correct? Unfortunately at the moment I don't understand exactly what you mean or what exactly you want to achieve or optimise where and how? Would be really happy to get more details and where exactly you see what kind of benefit? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it make sense to be able to define the host in the .env file like in flynt 1.4?
It would mainly require a change in
vite.config.js
on line 10:const env = loadEnv(mode, process.cwd(), '') const envHost = env.HOST || host
And line 32
{ dest, host }
should be replaced with{ dest, host: envHost }
@timohubois what are your thoughts on that? Is there a reason what this has been removed from version 1.4?
Beta Was this translation helpful? Give feedback.
All reactions