Skip to content

Commit

Permalink
[BUGFIX] Réparer l'affichage des images en preview (PIX-14766)
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge authored Oct 10, 2024
2 parents 7de988c + c62154c commit 0312160
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ GEOAPI_HOST=<GEOAPI_HOST>
SITE=pix-site

EASIWARE_SCRIPT_URL=<EASIWARE_SCRIPT_URL>
# Burger menu and navigation menu with new structure are available

# Enable built-in image in application build with Nuxt Image
#
# presence: optional
# type: boolean
# default: false
IS_BUILTIN_IMAGES_ENABLED=false
5 changes: 4 additions & 1 deletion shared/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const config = {
script: [],
},
},
image: {
provider: process.env.IS_BUILTIN_IMAGES_ENABLED ? undefined : 'prismic',
},
appConfig: {
domainFr: process.env.DOMAIN_FR,
domainOrg: process.env.DOMAIN_ORG,
Expand All @@ -32,10 +35,10 @@ const config = {
},
modules: ['@nuxt/test-utils/module'],
prismic: {
endpoint: 'pix-site',
clientConfig: {
accessToken: process.env.PRISMIC_API_TOKEN,
},
endpoint: 'pix-site',
linkResolver: '../shared/services/link-resolver.js',
},
runtimeConfig: {
Expand Down

0 comments on commit 0312160

Please sign in to comment.