Skip to content

Commit

Permalink
add stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
zleyyij committed Jan 13, 2025
1 parent e61de54 commit 46a59d3
Show file tree
Hide file tree
Showing 15 changed files with 4,504 additions and 0 deletions.
8 changes: 8 additions & 0 deletions new/apps/web/src/routes/+page.server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { type ServerLoad } from "@sveltejs/kit";

export const prerender = false;

export const load: ServerLoad = async ({ fetch }) => {
const res = await fetch('http://localhost:8080/widgets.php?file=files/test1.json');
return {widgetResponse: await res.text()};
};
Loading

0 comments on commit 46a59d3

Please sign in to comment.