Skip to content

Commit

Permalink
Fix middleware test
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jun 5, 2023
1 parent c34867d commit d054718
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 17 deletions.
3 changes: 0 additions & 3 deletions examples/middleware/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,4 @@ export default defineConfig({
adapter: node({
mode: 'standalone',
}),
experimental: {
middleware: true,
},
});
7 changes: 0 additions & 7 deletions packages/astro/test/fixtures/middleware-dev/astro.config.mjs

This file was deleted.

3 changes: 0 additions & 3 deletions packages/astro/test/fixtures/middleware-ssg/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ import { defineConfig } from 'astro/config';

export default defineConfig({
output: "static",
experimental: {
middleware: true
}
});
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ import tailwind from '@astrojs/tailwind';
// https://astro.build/config
export default defineConfig({
integrations: [tailwind()],
experimental: {
middleware: true,
}
});
1 change: 0 additions & 1 deletion packages/astro/test/redirects.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ describe('Astro.redirect', () => {
root: './fixtures/ssr-redirect/',
output: 'static',
experimental: {
middleware: true,
redirects: true,
},
redirects: {
Expand Down

0 comments on commit d054718

Please sign in to comment.