Skip to content

Commit

Permalink
fix: Cloudinary URL shouldn't be hardcoded
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Dec 27, 2024
1 parent a10724a commit 804d530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineNuxtConfig({
debug: false,
// config for image provider
cloudinary: {
baseURL: 'https://res.cloudinary.com/dxn3gzvtm/image/upload/',
baseURL: `https://res.cloudinary.com/${process.env.CLOUDINARY_CLOUD_NAME}/image/upload/`,
preset: 'elrhistory',
folder: 'elrhistory',
},
Expand Down Expand Up @@ -65,7 +65,7 @@ export default defineNuxtConfig({

image: {
cloudinary: {
baseURL: 'https://res.cloudinary.com/dxn3gzvtm/image/upload/',
baseURL: `https://res.cloudinary.com/${process.env.CLOUDINARY_CLOUD_NAME}/image/upload/`,
},
presets: {
thumb: {
Expand Down

0 comments on commit 804d530

Please sign in to comment.