Skip to content

Commit

Permalink
Simplify debugging config
Browse files Browse the repository at this point in the history
Closes #584
  • Loading branch information
maiertech committed Feb 3, 2023
1 parent 317e52a commit 9ce6628
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
"version": "0.2.0",
"configurations": [
{
"name": "Run SvelteKit",
"type": "node",
"name": "SvelteKit: debug server-side",
"type": "node-terminal",
"request": "launch",
"program": "${workspaceFolder}/node_modules/.bin/vite",
"args": ["dev"],
"console": "integratedTerminal"
"command": "npm run dev",
"skipFiles": ["<node_internals>/**"]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ import { metadata } from './+page.svx';
/** @type {import('./$types').PageServerLoad} */
export const load = async function ({ url }) {
const post = normalize(metadata, url.pathname);

return { post };
};

0 comments on commit 9ce6628

Please sign in to comment.