fix(nuxt): api template typo (#26719)
Typo in the `nuxt` server api template.
This commit is contained in:
parent
c2c6a13514
commit
9aca5f30f2
@ -2,7 +2,7 @@ import { defineEventHandler, getQuery } from 'h3';
|
|||||||
|
|
||||||
export default defineEventHandler((event) => {
|
export default defineEventHandler((event) => {
|
||||||
const q = getQuery(event);
|
const q = getQuery(event);
|
||||||
const name = q.name || 'World';
|
const projectName = q.name || 'World';
|
||||||
|
|
||||||
return {
|
return {
|
||||||
message: `Hello ${projectName}`,
|
message: `Hello ${projectName}`,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user