@nuxt/docs-nightly 4.0.0-29203929.7fe81d4f → 4.0.0-29204492.110e394b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,7 +55,7 @@ Variables that need to be accessible on the server are added directly inside `ru
|
|
|
55
55
|
To access runtime config, we can use `useRuntimeConfig()` composable:
|
|
56
56
|
|
|
57
57
|
```ts [server/api/test.ts]
|
|
58
|
-
export default defineEventHandler((event) => {
|
|
58
|
+
export default defineEventHandler(async (event) => {
|
|
59
59
|
const config = useRuntimeConfig(event)
|
|
60
60
|
|
|
61
61
|
// Access public variables
|