mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Added KIWIX_RESPONSE_DATA to error response
Now the data used to generate an error response can be made to be embedded in the response as a JS object KIWIX_RESPONSE_DATA.
This commit is contained in:
@ -5,7 +5,9 @@
|
||||
<title>{{PAGE_TITLE}}</title>
|
||||
{{#CSS_URL}}
|
||||
<link type="text/css" href="{{{CSS_URL}}}" rel="Stylesheet" />
|
||||
{{/CSS_URL}}
|
||||
{{/CSS_URL}}{{#KIWIX_RESPONSE_DATA}} <script>
|
||||
const KIWIX_RESPONSE_DATA = {{{KIWIX_RESPONSE_DATA}}};
|
||||
</script>{{/KIWIX_RESPONSE_DATA}}
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{PAGE_HEADING}}</h1>
|
||||
|
Reference in New Issue
Block a user