Skip to content

Commit 5ee7250

Browse files
author
Andrei
committed
Fixed base for filenames
1 parent d904124 commit 5ee7250

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎handlers/patch.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function handler(req, res) {
1515
debug('PATCH -- ' +req.path);
1616
debug('PATCH -- text length: ' + (req.text ? req.text.length : 'undefined2'));
1717
res.header('MS-Author-Via' , 'SPARQL' );
18-
var filename = file.uriToFilename(req.path, options.fileBase);
18+
var filename = file.uriToFilename(req.path, options.base);
1919
var patchContentType = req.get('content-type').split(';')[0].trim(); // Ignore parameters
2020
var targetContentType = mime.lookup(filename);
2121
var targetURI = options.prePathSlash + req.path;

0 commit comments

Comments
 (0)