Skip to content

Commit

Permalink
Revert "test - update image.domains"
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyuujin authored Oct 4, 2024
1 parent 75aac2e commit f70008c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/web/app/components/sponsor/SponsorList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const currentLocale = useLocaleCurrent().locale
class="sponsor-list-item-link"
:to="`${currentLocale === 'ja' ? '/' : `/${currentLocale}/`}sponsors/${item['detail_page_id']}`"
>
<NuxtImg
<img
class="sponsor-list-item-image"
:src="item['image_url']"
:alt="item.name"
Expand Down
3 changes: 1 addition & 2 deletions apps/web/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default defineNuxtConfig({
// url: 'https://vuefes.jp/2024/',
// },
image: {
domains: [process.env.NUXT_IMAGE_DOMAINS],
domains: ['jjdlwtezpdclgxxagxpj.supabase.co'],
quality: 80,
format: ['avif', 'webp']
},
Expand Down Expand Up @@ -175,7 +175,6 @@ export default defineNuxtConfig({
newtSpaceUid: process.env.NUXT_NEWT_SPACE_UID,
newtFormUid: process.env.NUXT_NEWT_FORM_UID,
reCaptchaWebsiteKey: process.env.NUXT_RECAPTCHA_WEBSITE_KEY,
imageDomains: process.env.NUXT_IMAGE_DOMAINS,
// supabase
supabaseUrl: process.env.SUPABASE_URL,
supabaseKey: process.env.SUPABASE_KEY,
Expand Down
3 changes: 1 addition & 2 deletions packages/ui/components/speaker/Avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ const size = computed(() => {
</script>

<template>
<NuxtImg
<img
:src="src"
:alt="alt"
:loading="loading"
placeholder
:width="size"
:height="size"
fit="cover"
Expand Down
1 change: 0 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"NUXT_NEWT_SPACE_UID",
"NUXT_NEWT_FORM_UID",
"NUXT_RECAPTCHA_WEBSITE_KEY",
"NUXT_IMAGE_DOMAINS",
"SUPABASE_URL",
"SUPABASE_KEY",
"SERVICE_KEY",
Expand Down

0 comments on commit f70008c

Please sign in to comment.