File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ class ACLChecker {
158158 return new ACLChecker ( resource , {
159159 agentOrigin : req . get ( 'origin' ) ,
160160 // host: req.get('host'),
161- fetch : fetchFromLdp ( ldp . resourceMapper , ldp . serverUri ) ,
161+ fetch : fetchLocalOrRemote ( ldp . resourceMapper , ldp . serverUri ) ,
162162 fetchGraph : ( uri , options ) => {
163163 // first try loading from local fs
164164 return ldp . getGraph ( uri , options . contentType )
@@ -180,7 +180,7 @@ class ACLChecker {
180180 * - `callback(null, graph)` with the parsed RDF graph of the fetched resource
181181 * @return {Function } Returns a `fetch(uri, callback)` handler
182182 */
183- function fetchFromLdp ( mapper , serverUri ) {
183+ function fetchLocalOrRemote ( mapper , serverUri ) {
184184 return async function fetch ( url , graph = rdf . graph ( ) ) {
185185 // Convert the URL into a filename
186186 let body , path , contentType
You can’t perform that action at this time.
0 commit comments