Prettier Changes
This commit is contained in:
parent
829e911674
commit
5bd01c3a22
10 changed files with 69 additions and 79 deletions
src/routes/data/services
|
@ -1,10 +1,10 @@
|
|||
import * as fs from "fs";
|
||||
import {json} from "@sveltejs/kit";
|
||||
import * as fs from 'fs';
|
||||
import { json } from '@sveltejs/kit';
|
||||
|
||||
export function GET() {
|
||||
const content = fs.readFileSync("static/data/services.json").toString();
|
||||
const content = fs.readFileSync('static/data/services.json').toString();
|
||||
|
||||
let data = JSON.parse(content)
|
||||
let data = JSON.parse(content);
|
||||
|
||||
return json(data);
|
||||
}
|
||||
return json(data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue