Skip to content

Commit

Permalink
chore(ngx-ssr-cache): small refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
IKatsuba committed Feb 10, 2021
1 parent 16c87d9 commit 341799a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/ngx-ssr/cache/express/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function withCache(
});
}

const originalUrl = options.req.originalUrl;
const originalUrl = options.req?.originalUrl;

if (!originalUrl) {
runEngine();
Expand Down

0 comments on commit 341799a

Please sign in to comment.