MCPcopy Index your code
hub / github.com/dataease/SQLBot / getDomain

Function getDomain

frontend/public/assistant.js:615–617  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

613 })
614 }
615 function getDomain(src) {
616 return src.substring(0, src.indexOf('/assistant.js'))
617 }
618 function init() {
619 const sqlbotScripts = document.querySelectorAll(`script[id^="${script_id_prefix}"]`)
620 const scriptsArray = Array.from(sqlbotScripts)

Callers 1

loadScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected