Skip to content

Commit 13250a0

Browse files
committed
fix: Fix not found server route error on install module
1 parent d20a84d commit 13250a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const module: NuxtModule<ModuleOptions> = defineNuxtModule<ModuleOptions>({
5151

5252
addServerHandler({
5353
route: '/api/subscribe',
54-
handler: resolve(runtimeDir, 'server/api/subscribe.ts'),
54+
handler: resolve(runtimeDir, 'server/api/subscribe'),
5555
})
5656
},
5757
})

0 commit comments

Comments
 (0)