Commit Graph

9 Commits

Author SHA1 Message Date
9a7ad40401 🤦 Disable crsf for now to reenable the newsletter form 2022-12-23 19:50:57 +01:00
993dc90739 Switch newsletter form to SvelteKit Form Actions
- remove api endpoint and use latest SK form actions
- create reusable server page function for form handling
- handling the errors in the server function
2022-10-16 00:11:30 +02:00
5545871c85 Use page specific stale-while-revalidate Cache-Control headers 2022-09-20 00:20:18 +02:00
b1448f9db3 Update photo queries to match Postgres migration 2022-09-19 12:50:36 +02:00
0e6aaaa4e2 Make GraphQL queries more compact 2022-08-16 21:17:14 +02:00
52e0407700 Why an error again…? 2022-08-16 20:48:01 +02:00
42e9029da8 Switch back to VITE env variable for API token
Can't find a way around… but this works!
2022-08-16 20:40:57 +02:00
93a50770d0 Move API fetch data to different file
Sharing multiple exportable functions in one file impacts the use of private env variables 🤷
2022-08-16 20:00:52 +02:00
5e5c08ddd1 🚧 Migrate to new SvelteKit routing system
A bit annoying but for the best I guess?
2022-08-16 15:54:15 +02:00