MCPcopy Create free account
hub / github.com/dataease/SQLBot / requiresValidationURL

Function requiresValidationURL

frontend/public/swagger-ui-bundle.js:31236–31238  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

31234 },
31235 shallowEqualKeys = (s, o, i) => !!dt()(i, (i) => vt()(s[i], o[i]))
31236 function requiresValidationURL(s) {
31237 return !(!s || s.indexOf('localhost') >= 0 || s.indexOf('127.0.0.1') >= 0 || 'none' === s)
31238 }
31239 const createDeepLinkPath = (s) =>
31240 'string' == typeof s || s instanceof String ? s.trim().replace(/\s/g, '%20') : '',
31241 escapeDeepLinkPath = (s) => Et()(createDeepLinkPath(s).replace(/%20/g, '_')),

Callers 1

renderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected