Gyen Abubakar
Explore posts from serversBABetter Auth
•Created by Gyen Abubakar on 3/9/2025 in #help
Rate Limiting in a SvelteKit app
I'm on the verge of completing a project (with SSR) for a client and want some guidance on how to prevent the entire app (not just a few sections) from being bombarded with requests. Bear in mind this is my first time building something like this, since I've been very front-end focused, so please be kind 😅.
Here's my tech stack: SvelteKit, Bun, Supabase, Fly.io .
I'm looking at the Better Auth Rate Limit guide but I'm not sure if it's possible to use Better Auth just for the rate limit aspect, since I'm using Supabase Auth.
Ideally, I'd like a check to happen as early as possible, for example, in the
hooks.server.ts
file.
I appreciate any help you can provide.4 replies
Disable root files being copied into `/_nuxt` path
I'm getting this error:
CustomersFilters.vue:12
looks like this:
I have a shadcn-vue
components.json
file in the root directory and when I visit localhost:3000/_nuxt/components.json
in the browser, I get the contents of the components.json
file in the root folder.
How do I disable this behaviour?2 replies