ExerciseDB

फ्रीमियम
द्वारा Justin | अपडेट किया गया 7日前 | Health and Fitness
लोकप्रियता

9.9 / 10

लेटेंसी

354ms

सेवा का स्तर

95%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

Hiding API KEY in .env

Rapid account: Wlcole 1970
wlcole1970
2年前

I kept getting the message ‘You are not subscribed to this API.’

This doesn’t happen if it place the API Key into my fetchData.js file but if i want it to be secure and place it in the .env file, i get this message.

Any help is appreciated.

Thanks

Rapid account: Genarene 96
genarene96 Commented 2年前

I moved my .env file to the root of my project and it worked…Thanks

Rapid account: Cristiangualteros 23
cristiangualteros23 Commented 2年前

you must activate the free subscription, that’s sufficient.
Search by test endpoint

Rapid account: Creativehippodesigns
creativehippodesigns Commented 2年前

This seems like a common error when you have you .env file stored in src instead of root of your project. Try moving it and then restarting your server. That should work.

Rapid account: Revis 1 On
Revis1on Commented 2年前

I’m having the same problem

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें