Skip to content

Commit

Permalink
chore: change desciption in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nightnei committed Dec 16, 2021
1 parent 0211d84 commit a0f5db2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,13 @@ export default class IlcAppSdk implements IIlcAppSdk {
}
/**
* Isomorphic method to render 404 page.
* GLOBAL 404:
* At SSR in processResponse it sets 404 status code to response.
* At CSR it triggers global event which ILC listens and renders 404 page.
*
* CUSTOM 404:
* At SSR in processResponse it sets 404 status code and "X-ILC-Override" header to response.
* At CSR it renders own not found component from fragment.
*/
render404: Render404 = (config) => {
// SSR
Expand Down

0 comments on commit a0f5db2

Please sign in to comment.