Skip to content

Commit

Permalink
chore: 🔧 Implemented 'RuntimeConfig'
Browse files Browse the repository at this point in the history
  • Loading branch information
bKoZii committed Aug 26, 2024
1 parent 45efd43 commit 2df638d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,11 @@ export default defineNuxtConfig({
],
excludeAppSources: ['nuxt:route-rules']
},
runtimeConfig: {
public: {
strapiUrl: {
url: process.env.STRAPI_URL
}
}
}
})

1 comment on commit 2df638d

@vercel
Copy link

@vercel vercel bot commented on 2df638d Aug 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.