so currently the click 'stats' method is
not really safe, it exposes the api token to the client.
instead, we should use forms to send
data to the server function
we'll have to :
• move the handle onclick function from directus.jsmaybe to server.js and change it to handle form
• remove VITE_ from the api and re generate the api token
• use svelte built in env
so currently the click 'stats' method is not really safe, it exposes the api token to the client.
instead, we should use forms to send data to the server function