🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 04:41:48 | PHP 8.1.34
📂
/ (Root)
/
opt
/
alt
/
alt-nodejs12
/
root
/
usr
/
lib
/
node_modules
/
npm
/
docs
/
src
/
components
📍 /opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/docs/src/components
🔄 Refresh
✏️
Editing: scripts.js
Read Only
import React from 'react' const IS_STATIC = process.env.GATSBY_IS_STATIC const Scripts = () => { // Workaround: Make links work on the static html site if (IS_STATIC) { return ( <script dangerouslySetInnerHTML={{ __html: ` var anchors = document.querySelectorAll(".sidebar a, .documentation a") Array.prototype.slice.call(anchors).map(function(el) { if (el.href.match(/file:\\/\\//)) { el.href = el.href + "/index.html" } }) ` }} /> ) } return null } export default Scripts
💾 Save Changes
❌ Cancel