J
J
jondoeonoe2018-07-04 19:47:12
Software Deployment
jondoeonoe, 2018-07-04 19:47:12

How to deploy a React app with API secret key?

Hello. Actually such a question. There is a React application. There is an .env file that has been successfully added to gitignor, which contains the key for the API. I just want to deploy to now. And the question is, how can I deploy so that he "read" this key? Now the obvious situation is that he does not see him. Or am I doing something wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2018-07-04
@jondoeonoe

According to the doc:
https://zeit.co/docs/features/env-and-secrets

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question