Skip to content

Commit b48d118

Browse files
committed
Fix shouldPrerenderAdditionalCheck example
1 parent 215cb5e commit b48d118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ const resetPrerenderCloud = () => {
136136
if (prerenderCloudOption) prerenderCloudOption(prerendercloud);
137137
};
138138

139-
const isNotBlocked = (req) => {
139+
const isNotBlocked = (blacklistSpaPaths, req) => {
140140
return !blacklistSpaPaths.some((pattern) => {
141141
if (pattern.endsWith("*")) {
142142
return req.url.startsWith(pattern.slice(0, -1));

0 commit comments

Comments
 (0)