From 9326b7a8bde1ae793ba046f7dacc4ebbe200b786 Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Mon, 19 Feb 2024 11:36:38 +0100 Subject: [PATCH] docs: remove `.ts` extension when adding compiled files (#25855) --- docs/2.guide/3.going-further/3.modules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/2.guide/3.going-further/3.modules.md b/docs/2.guide/3.going-further/3.modules.md index 2891ce931a..5ade0f627c 100644 --- a/docs/2.guide/3.going-further/3.modules.md +++ b/docs/2.guide/3.going-further/3.modules.md @@ -396,7 +396,7 @@ export default defineNuxtModule({ addServerHandler({ route: '/api/hello', - handler: resolver.resolve('./runtime/server/api/hello/index.get.ts') + handler: resolver.resolve('./runtime/server/api/hello/index.get') }) } }) @@ -413,7 +413,7 @@ export default defineNuxtModule({ addServerHandler({ route: '/api/hello/:name', - handler: resolver.resolve('./runtime/server/api/hello/[name].get.ts') + handler: resolver.resolve('./runtime/server/api/hello/[name].get') }) } })