MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / restrict-to-top-domain.mjs

File restrict-to-top-domain.mjs

lib/handlers/restrict-to-top-domain.mjs:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import HTTPError from '../http-error.mjs'
2
3export default function (req, res, next) {
4 const locals = req.app.locals

Callers

nothing calls this directly

Calls 1

resolveUrlMethod · 0.80

Tested by

no test coverage detected