Your task is to help me deploy a SvelteKit 5 application to GitHub Pages. This should load a todo list from a static JSON file. A human developer would typically need multiple attempts to get this right due to the specific configuration requirements and potential pitfalls.
Let's see if you can do it on the first try.
/static/data/todos.json
file{
"data": [
{
"type": "todos",
"id": "1",
"attributes": {
"task": "Walk the dog",
"completed": false
}
},
{
"type": "todos",
"id": "2",
"attributes": {
"task": "Buy milk",
"completed": false
}
},
{
"type": "todos",
"id": "3",
"attributes": {
"task": "Deploy a SvelteKit 5 static site to GitHub pages",
"completed": false
}
}
]
}