Question · Svelte and SvelteKit course · Module 14: Hooks, API and Deployment
The Server Hooks File
In which file do we define server hooks?
Answer options
- src/hooks.js
- src/hooks.server.js
- src/server/hooks.js
- svelte.config.js
You can check the correct answer by solving this task in the CodeWorlds game.