UNPKG

azion

Version:

Azion Packages for Edge Computing.

9 lines (8 loc) 202 B
const i = (n) => { const t = new URL(n).pathname; let e; return /\.[^.]+$/.test(t) ? e = new URL(t.slice(1), "file:///") : e = new URL("index.html", "file:///"), fetch(e); }; export { i as m };