mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-25 04:43:03 +03:00
Fix typo.
This commit is contained in:
parent
7a57c331bc
commit
a0f34bfa19
@ -16,10 +16,10 @@ async function run({ renderFunctionFilePath, routePatterns }) {
|
||||
routePatterns
|
||||
.filter(isServerSide)
|
||||
.map((route) => {
|
||||
if (route.pathPattern === "prerender-with-fallback") {
|
||||
return `${route.pathPattern} /.netlify/functions/render 200`;
|
||||
if (route.kind === "prerender-with-fallback") {
|
||||
return `${route.kind} /.netlify/functions/render 200`;
|
||||
} else {
|
||||
return `${route.pathPattern} /.netlify/functions/server-render 200`;
|
||||
return `${route.kind} /.netlify/functions/server-render 200`;
|
||||
}
|
||||
})
|
||||
.join("\n") + "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user