File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -208,9 +208,9 @@ export function app() {
208208
209209 /**
210210 * Default sending all incoming requests to ngApp() function, after first checking for a cached
211- * copy of the page (see cacheCheck ())
211+ * copy of the page (see cacheAndErrorStatusCheck ())
212212 */
213- router . get ( '*' , cacheCheck , ngApp ) ;
213+ router . get ( '*' , cacheAndErrorStatusCheck , ngApp ) ;
214214
215215 server . use ( environment . ui . nameSpace , router ) ;
216216
@@ -374,7 +374,7 @@ function anonymousCacheEnabled(): boolean {
374374 * Check if the currently requested page is in our server-side, in-memory cache.
375375 * Caching is ONLY done for SSR requests. Pages are cached base on their path (e.g. /home or /search?query=test)
376376 */
377- function cacheCheck ( req , res , next ) {
377+ function cacheAndErrorStatusCheck ( req , res , next ) {
378378 // Cached copy of page (if found)
379379 let cachedCopy ;
380380
You can’t perform that action at this time.
0 commit comments