You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, good question.
The token here is a public token. It is not a personal access token.
And this function is a "multi-purpose" function that you can use in the client and server sides.
But if you want to "protect" your access token and you are building a server-side-only project, using the .server files, you can rename the env variable from PUBLIC_ to SECRET_ for example:
Why do you leak the access token here?
https://github.com/roberto-butti/my-storyblok-sveltekit-example/blob/main/src/storyblok.js
The text was updated successfully, but these errors were encountered: