Is there a way to hide the api key and authorization key when publishing a website? The language used is javascript.
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 23 maj 2024 vid 11:12 AM
Hi @gkgk420,
Probably not in the source code of your website, if that's what you mean. You'll be better off using environment variables, which can be set privately and then read within your app whenever needed.