We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1a53a commit 2cd77d1Copy full SHA for 2cd77d1
packages/gatsby-adapter-netlify/src/pretty-urls.ts
@@ -55,7 +55,7 @@ export function createStaticAssetsPathHandler(): {
55
let isDynamic = false
56
// dynamic routes syntax use characters that are reserved in a lot of filesystems
57
// so if route is dynamic we should normalize filepath
58
- if (routePath.includes(`:`) || routePath.includes(`*`)) {
+ if (routePath.includes(`/:`) || routePath.includes(`/*`)) {
59
routePath = normalizeDynamicRoutePath(routePath)
60
isDynamic = true
61
}
0 commit comments