File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 55 </NuxtLink >
66 /
77 <NuxtLink to =" /client" >
8- <span >Client KQL </span >
8+ <span >Client-side only </span >
99 </NuxtLink >
1010 </header >
1111
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export default defineNuxtConfig({
99 kql : {
1010 kirbyEndpoint : 'api/kql' ,
1111 kirbyAuth : 'bearer' ,
12- // Enable client-side KQL requests with `usePublicQuery()` and `$publicQuery()`
12+ // Enable client-side query requests with `usePublicQuery()` and `$publicQuery()`
1313 clientRequests : true ,
1414 } ,
1515} )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function updateQuery() {
2121<template >
2222 <div >
2323 <h1 >Fetch Data Safely</h1 >
24- <p >Data is being fetched via a custom Nuxt server route for KQL queries.</p >
24+ <p >Data is being fetched via a custom Nuxt server route for Kirby queries.</p >
2525 <hr >
2626 <h2 >{{ data?.result?.title }}</h2 >
2727 <h3 >Query</h3 >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default defineEventHandler(async (event): Promise<KirbyQueryResponse> =>
1414 event . res . statusCode = 404
1515 return {
1616 code : 404 ,
17- status : 'Empty KQL query' ,
17+ status : 'Empty Kirby query' ,
1818 }
1919 }
2020
@@ -32,7 +32,7 @@ export default defineEventHandler(async (event): Promise<KirbyQueryResponse> =>
3232 event . res . statusCode = 500
3333 return {
3434 code : 500 ,
35- status : 'Couldn\'t execute KQL query' ,
35+ status : 'Couldn\'t execute Kirby query' ,
3636 result : err . message ,
3737 }
3838 }
You can’t perform that action at this time.
0 commit comments