Skip to content

Commit

Permalink
fix: access config from public key (#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 13, 2023
1 parent 7bb8b10 commit bd1cbb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const addPrerenderPath = (path: string) => {
}

export const shouldUseClientDB = () => {
const { experimental } = useRuntimeConfig().content
const { experimental } = useRuntimeConfig().public.content
if (process.server) { return false }
if (experimental.clientDB) { return true }

Expand Down

0 comments on commit bd1cbb4

Please sign in to comment.