Rewrite page in Svelte 5 #49

Merged
Neshura merged 94 commits from rewrite/svelte into main 2024-01-06 14:12:09 +00:00
Showing only changes of commit 7f25f40fe6 - Show all commits

View file

@ -0,0 +1,10 @@
import * as fs from "fs";
import {json} from "@sveltejs/kit";
export function GET() {
const content = fs.readFileSync("static/data/services.json").toString();
let data = JSON.parse(content)
return json(data);
}