```You should not include your API secret in your ...
# server-api
e
Copy code
You should not include your API secret in your web client bundle.

Your web client should request a token from your backend server which should then use the API secret to generate a token. See <https://docs.livekit.io/client/connect/>
You should not include your API secret in your web client bundle.

Your web client should request a token from your backend server which should then use the API secret to generate a token. See <https://docs.livekit.io/client/connect/>
How do i suppress this spam in my logs 😂
p
This log is supposed to be annoying, so that you’ll eventually switch to a best practice/more secure implementation 😉
this 1
e
Nah what i'm saying is, my api secret is absolutely not in my client bundle
I just assumed this log was enabled regardless
And had to be turned off
It looks like livekit-server-sdk does this when document is defined.
We are running this in nodejs
Ok i see the problem, we are polyfilling document so its incorrectly logging that. I dunno why this check even exists, its livekit-server-sdk its not for browser builds.