Skip to content

Commit bd64ba7

Browse files
author
nicola
committed
removing references to suffixChanges
1 parent f9790b8 commit bd64ba7

4 files changed

Lines changed: 2 additions & 10 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ Options:
4343
--no-live Disable live support through WebSockets
4444
-sA, --suffix-acl Suffix for acl files (default: '.acl')
4545
-sM, --suffix-meta Suffix for metadata files (default: '.meta')
46-
-sC, --suffix-changes Suffix for acl files (default: '.changes')
4746
-sE, --suffix-sse Suffix for SSE files (default: '.events')
4847
4948
```
@@ -83,7 +82,6 @@ In case the `settings` is not passed, then it will start with the following defa
8382
mount: '/', // Where to mount Linked Data Platform
8483
webid: false, // Enable WebID+TLS authentication
8584
suffixAcl: '.acl', // Suffix for acl files
86-
suffixChanges: '.changes', // Suffix for acl files
8785
suffixSSE: '.events', // Suffix for SSE files
8886
proxy: false, // Where to mount the proxy
8987
errorHandler: false, // function(err, req, res, next) to have a custom error handler

‎bin/ldnode.js‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ var argv = require('nomnom')
7474
help: 'Suffix for metadata files (default: \'.meta\')',
7575
abbr: 'sM'
7676
})
77-
.option('suffixChanges', {
78-
full: 'suffix-changes',
79-
help: 'Suffix for acl files (default: \'.changes\')',
80-
abbr: 'sC'
81-
})
8277
.option('suffixSSE', {
8378
full: 'suffix-sse',
8479
help: 'Suffix for SSE files (default: \'.events\')',

‎lib/handlers/get.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function get(req, res, next, includeBody) {
4242
if (ldp.live) {
4343
// Note not yet in
4444
// http://www.iana.org/assignments/link-relations/link-relations.xhtml
45-
header.addLink(res, req.originalUrl + ldp.suffixChanges, 'changes');
45+
// header.addLink(res, req.originalUrl + ldp.suffixChanges, 'changes');
4646
// res.header('Link' , '' + req.path + ldp.suffixSSE + ' ; rel=events' );
4747
// overwrites the pevious
4848
res.header('Updates-Via', utils.uriBase(req));

‎lib/ldp.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ function LDP(argv) {
4343
ldp.leavePatchConnectionOpen = false;
4444
ldp.suffixAcl = argv.suffixAcl || ".acl";
4545
ldp.suffixMeta = argv.suffixMeta || ".meta";
46-
ldp.suffixChanges = argv.suffixChanges || '.changes';
4746
ldp.suffixSSE = argv.suffixSSE || '.events';
48-
ldp.turtleExtensions = ['.ttl', ldp.suffixAcl, ldp.suffixMeta, ldp.suffixChanges, ldp.suffixSSE]
47+
ldp.turtleExtensions = ['.ttl', ldp.suffixAcl, ldp.suffixMeta, ldp.suffixSSE]
4948

5049
ldp.proxy = argv.proxy;
5150

0 commit comments

Comments
 (0)