Skip to content

Commit

Permalink
Project adapter build settings does not consider nested paths #7
Browse files Browse the repository at this point in the history
  • Loading branch information
vratskyi committed Mar 1, 2024
1 parent fff9593 commit fae57de
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { defineConfig } from 'astro/config';
import mdx from "@astrojs/mdx";
import compress from "astro-compress";
import tailwind from "@astrojs/tailwind";

import cloudflare from "@astrojs/cloudflare";

// https://astro.build/config
Expand All @@ -15,7 +14,8 @@ export default defineConfig({
codes: ["ru", "ru-RU"]
}],
routing: {
prefixDefaultLocale: true
prefixDefaultLocale: true,
redirectToDefaultLocale: true
},
fallback: {
ru: "en"
Expand All @@ -28,7 +28,17 @@ export default defineConfig({
JavaScript: true,
SVG: false
}), tailwind()],
image: {
service: {
entrypoint: 'astro/assets/services/sharp',
config: {
limitInputPixels: false,
},
},
},
// site: 'http://localhost:4321',
redirects: {
},
prefetch: {
prefetchAll: true,
defaultStrategy: 'viewport'
Expand Down

0 comments on commit fae57de

Please sign in to comment.