astro/packages/integrations/cloudflare/test/fixtures/routes-json/astro.config.mjs
Marco Schumacher 2365c12464
fix(cloudflare): added config for _routes.json generation (#8459)
* added config for _routes.json generation

* added changeset

* renamed test file

* updated comments

* Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* worked on tests

* worked on docs

* worked on docs

* worked on tests

* updated pnpm-lock.yaml

* worked on tests

* moved the _worker.js in cloudflareSpecialFiles statement

---------

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Alexander Niebuhr <alexander@nbhr.io>
2023-09-24 08:32:03 +02:00

9 lines
187 B
JavaScript

import { defineConfig } from 'astro/config';
export default defineConfig({
// adapter will be set dynamically by the test
output: 'hybrid',
redirects: {
'/a/redirect': '/',
},
});