File tree 1 file changed +8
-0
lines changed
packages/runtime/src/templates
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ interface NetlifyConfig {
18
18
revalidateToken ?: string
19
19
}
20
20
21
+ // eslint-disable-next-line max-lines-per-function
21
22
const getNetlifyNextServer = ( NextServer : NextServerType ) => {
22
23
class NetlifyNextServer extends NextServer {
23
24
private netlifyConfig : NetlifyConfig
@@ -118,6 +119,13 @@ const getNetlifyNextServer = (NextServer: NextServerType) => {
118
119
}
119
120
}
120
121
122
+ // eslint-disable-next-line class-methods-use-this, require-await
123
+ async runMiddleware ( ) : Promise < { finished : boolean } > {
124
+ return {
125
+ finished : false ,
126
+ }
127
+ }
128
+
121
129
private getNetlifyPathsForRoute ( route : string ) : string [ ] {
122
130
const { i18n } = this . nextConfig
123
131
const { routes, dynamicRoutes } = this . netlifyPrerenderManifest
You can’t perform that action at this time.
0 commit comments