📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 14:59:21
📂
/ (Root)
/
home
/
supecsoq
/
.trash
/
node_modules
/
next
/
dist
/
server
/
app-render
/
metadata-insertion
📍 /home/supecsoq/.trash/node_modules/next/dist/server/app-render/metadata-insertion
🔄 Refresh
✏️
Editing: create-server-inserted-metadata.js
Writable
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "createServerInsertedMetadata", { enumerable: true, get: function() { return createServerInsertedMetadata; } }); const _htmlescape = require("../../../shared/lib/htmlescape"); /** * For chromium based browsers (Chrome, Edge, etc.) and Safari, * icons need to stay under <head> to be picked up by the browser. * */ const REINSERT_ICON_SCRIPT = `\ document.querySelectorAll('body link[rel="icon"], body link[rel="apple-touch-icon"]').forEach(el => document.head.appendChild(el))`; function createServerInsertedMetadata(nonce) { let inserted = false; return async function getServerInsertedMetadata() { if (inserted) { return ''; } inserted = true; return `<script${nonce ? ` nonce="${(0, _htmlescape.htmlEscapeAttributeString)(nonce)}"` : ''}>${REINSERT_ICON_SCRIPT}</script>`; }; } //# sourceMappingURL=create-server-inserted-metadata.js.map
💾 Save Changes
❌ Cancel