Skip to content

Commit

Permalink
fix: serverDir
Browse files Browse the repository at this point in the history
  • Loading branch information
risv1 committed Oct 25, 2024
1 parent 1aea5ff commit 9e6e21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export default defineNuxtConfig({
compatibilityDate: '2024-10-24',
devtools: { enabled: true },
srcDir: 'app',
serverDir: 'server',
modules: [
'@vueuse/nuxt',
"@nuxt/icon",
Expand Down
2 changes: 1 addition & 1 deletion server/api/health.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default defineEventHandler(() => {
export default defineEventHandler((event) => {
return { status: "ok" };
});

0 comments on commit 9e6e21a

Please sign in to comment.