Skip to content

Commit

Permalink
fix(site): use cloudflare image on production
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Sep 19, 2024
1 parent 958a838 commit 89b8865
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
const DEFAULT_KESTRA_API_URL = 'https://api.kestra.io/v1';

export default defineNuxtConfig({
modules: ['@nuxt/devtools', '@nuxt/content', '@nuxt/image', '@nuxtjs/sitemap', 'nuxt-gtag', 'nuxt-multi-cache', 'vue3-carousel-nuxt', 'nuxt-lazy-hydrate', '@nuxtjs/robots'],
target: 'server',
image: {
provider: process.env.NODE_ENV === "production" ? "cloudflare" : "ipx",
formats: {
webp: {
quality: 80
Expand Down

0 comments on commit 89b8865

Please sign in to comment.