Open thaarrtt opened 6 days ago
its not works
example
export default defineConfig({ site: 'https://******.com/', server: { cors: { origin: ['https://blog.****.com'], methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], allowedHeaders: ['Content-Type', 'Authorization'], credentials: true } }, integrations: [ sitemap(), tailwind(), partytown(), playformCompress(), opengraphImages({ options: { fonts: [ { name: "Inter", weight: 400, style: "latin", data: fs.readFileSync("node_modules/@fontsource/inter/files/inter-latin-400-normal.woff"), }, ], }, render: presets.blackAndWhite, }), ], output: "hybrid", adapter: node({ mode: "standalone" }) });
Hi!
This is likely because you're using Astro SSR. This has only been tested with static site builds. This is noted on the README.
I'll see if I can get this project working for SSR.
its not works
example
export default defineConfig({ site: 'https://******.com/', server: { cors: { origin: ['https://blog.****.com'], methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], allowedHeaders: ['Content-Type', 'Authorization'], credentials: true } }, integrations: [ sitemap(), tailwind(), partytown(), playformCompress(), opengraphImages({ options: { fonts: [ { name: "Inter", weight: 400, style: "latin", data: fs.readFileSync("node_modules/@fontsource/inter/files/inter-latin-400-normal.woff"), }, ], }, render: presets.blackAndWhite, }), ], output: "hybrid", adapter: node({ mode: "standalone" }) });