@tesser-sh/gateway 0.59.0 → 0.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../front/src/page.ts
|
|
2
|
-
var FAVICON = `data:image/svg+xml,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
2
|
+
var FAVICON = `data:image/svg+xml,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><rect width="16" height="16" rx="3" fill="#000000"/><path fill="#f0f1e9" d="M8 8H2A6 6 0 0 1 8 2ZM9 9H15A6 6 0 0 1 9 15Z"/><path fill="#fbffc9" d="M9 2H15V8H9Z"/></svg>')}`;
|
|
3
3
|
function escapeHtml(text) {
|
|
4
4
|
return text.replace(/[&<>"]/g, (c) => ({ "&": "&", "<": "<", ">": ">", '"': """ })[c]);
|
|
5
5
|
}
|