mirror of
https://github.com/101island/lolisland.us.git
synced 2026-03-01 03:49:42 +08:00
19 lines
470 B
JavaScript
19 lines
470 B
JavaScript
import cloudflare from "@astrojs/cloudflare";
|
|
import react from "@astrojs/react";
|
|
import { defineConfig } from "astro/config";
|
|
import UnoCSS from "unocss/astro";
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
adapter: cloudflare(),
|
|
integrations: [react(), UnoCSS()],
|
|
i18n: {
|
|
defaultLocale: "zh-cn",
|
|
locales: ["en", "zh-cn", "zh-hk", "ja"],
|
|
routing: {
|
|
prefixDefaultLocale: true,
|
|
redirectToDefaultLocale: false,
|
|
},
|
|
},
|
|
});
|