MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / extractStaticAssetPath

Function extractStaticAssetPath

scripts/dev-server.cjs:97–100  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

95}
96
97function extractStaticAssetPath(html) {
98 const match = html.match(/\/_next\/static\/[^"' )]+/);
99 return match?.[0] || null;
100}
101
102async function runPublicSmokeCheck(host, port) {
103 const deadline = Date.now() + PUBLIC_SMOKE_TIMEOUT_MS;

Callers 1

runPublicSmokeCheckFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected