@astrojs/cloudflare
Advanced tools
Comparing version 10.2.3 to 10.2.4
@@ -117,2 +117,5 @@ import { existsSync } from 'node:fs'; | ||
excludePaths.push(assetsPath); | ||
for (const redirect of redirects) { | ||
excludePaths.push(segmentsToCfSyntax(redirect, _config)); | ||
} | ||
if (existsSync(fileURLToPath(_config.publicDir))) { | ||
@@ -137,5 +140,2 @@ const staticFiles = await glob(`${fileURLToPath(_config.publicDir)}/**/*`, { | ||
} | ||
for (const redirect of redirects) { | ||
excludePaths.push(segmentsToCfSyntax(redirect, _config)); | ||
} | ||
let hasPrerendered404 = false; | ||
@@ -142,0 +142,0 @@ for (const route of routes) { |
{ | ||
"name": "@astrojs/cloudflare", | ||
"description": "Deploy your site to Cloudflare Workers/Pages", | ||
"version": "10.2.3", | ||
"version": "10.2.4", | ||
"type": "module", | ||
@@ -52,4 +52,4 @@ "types": "./dist/index.d.ts", | ||
"vite": "^5.2.6", | ||
"astro-scripts": "0.0.14", | ||
"@astrojs/test-utils": "0.0.1" | ||
"@astrojs/test-utils": "0.0.1", | ||
"astro-scripts": "0.0.14" | ||
}, | ||
@@ -56,0 +56,0 @@ "publishConfig": { |