Skip to content

Commit

Permalink
test(cloudflare-pages): remover overlapping include rules
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 28, 2023
1 parent 84c5418 commit 789a13d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion test/fixture/nitro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default defineNitroConfig({
cloudflare: {
pages: {
routes: {
include: ["/*", "/api/*", "/blog/*"],
include: ["/*"],
exclude: ["/blog/static/*"],
},
},
Expand Down
2 changes: 0 additions & 2 deletions test/presets/cloudflare-pages.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ describe("nitro:preset:cloudflare-pages", async () => {
],
"include": [
"/*",
"/api/*",
"/blog/*",
],
"version": 1,
}
Expand Down

0 comments on commit 789a13d

Please sign in to comment.