import { FABRuntime , FabPluginRuntime , NO_RESPONSE_STATUS_CODE , Priority , } from '@fab/core' ; const FinalResponder = ( { Router } ) => { Router . onAll ( async ( { url } ) => { return new Response ( `No resource found at ${ url . pathname }\n` , { status : NO_RESPONSE_STATUS_CODE , statusText : 'No Response' , headers : { } , } ) ; } , Priority . LAST ) ; } ; export default FinalResponder ;