Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
throwanem
on Oct 1, 2021
|
parent
|
context
|
favorite
| on:
Injecting environment variables into static websit...
You still need to inject values from the environment into the page source at build time, whether you're using Javascript or not. And if you're already doing that, why add Javascript on top when all you need is an anchor?
larsrh
on Oct 1, 2021
[–]
Exactly. I couldn't have solved this with JS only.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: