mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix(nuxt): remove backticks around runtimeConfig warning log (#27549)
This commit is contained in:
parent
1321c56483
commit
803100e34e
@ -568,7 +568,7 @@ function wrappedConfig (runtimeConfig: Record<string, unknown>) {
|
||||
if (typeof p === 'string' && p !== 'public' && !(p in target) && !p.startsWith('__v') /* vue check for reactivity, e.g. `__v_isRef` */) {
|
||||
if (!loggedKeys.has(p)) {
|
||||
loggedKeys.add(p)
|
||||
console.warn(`[nuxt] Could not access \`${p}\`. The only available runtime config keys on the client side are ${keys.join(', ')} and ${lastKey}. See \`https://nuxt.com/docs/guide/going-further/runtime-config\` for more information.`)
|
||||
console.warn(`[nuxt] Could not access \`${p}\`. The only available runtime config keys on the client side are ${keys.join(', ')} and ${lastKey}. See https://nuxt.com/docs/guide/going-further/runtime-config for more information.`)
|
||||
}
|
||||
}
|
||||
return Reflect.get(target, p, receiver)
|
||||
|
Loading…
Reference in New Issue
Block a user