From 8bbdc2da7da23ebc2d0a6f7266ac971eb19f191d Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 15 Nov 2019 14:37:30 +0100 Subject: [PATCH 1/3] Mention receiving as well as providing help --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e9f2862af..9ea446386 100644 --- a/README.md +++ b/README.md @@ -401,12 +401,12 @@ it. It is currently adviceable to remove it or set it inactive rather than set a large quota, because the current implementation will impair write performance if there is a lot of data. -## Contribute to Solid +## Get help and contribute Solid is only possible because of a large community of [contributors](https://github.com/solid/node-solid-server/blob/master/CONTRIBUTORS.md). A heartfelt thank you to everyone for all of your efforts! -You can help us too: +You can receive or provide help too: - [Join us in Gitter](https://gitter.im/solid/chat) to help with development or to hang out with us :) - [Create a new issue](https://github.com/solid/node-solid-server/issues/new) to report bugs From 3ca7cce11ef04b818dbbcd8cb2d3219cd08564fa Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 15 Nov 2019 14:40:12 +0100 Subject: [PATCH 2/3] Mention both general and NSS channel --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ea446386..26d9f6ae1 100644 --- a/README.md +++ b/README.md @@ -408,7 +408,8 @@ A heartfelt thank you to everyone for all of your efforts! You can receive or provide help too: -- [Join us in Gitter](https://gitter.im/solid/chat) to help with development or to hang out with us :) +- [Join us in Gitter](https://gitter.im/solid/chat) to chat about Solid or to hang out with us :) +- [NSS Gitter channel](https://gitter.im/solid/node-solid-server) for specific (installation) advice about this code base - [Create a new issue](https://github.com/solid/node-solid-server/issues/new) to report bugs - [Fix an issue](https://github.com/solid/node-solid-server/issues) - Reach out to Jackson at jacksonm@inrupt.com to become more involved in maintaining Node Solid Server From acda43a3cc76fb5c9b07b035139e34443a5102fb Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Tue, 19 Nov 2019 23:14:40 +0100 Subject: [PATCH 3/3] mime-type named container gets mime-type --- lib/ldp-container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldp-container.js b/lib/ldp-container.js index d075c1ea9..4f727e6fe 100644 --- a/lib/ldp-container.js +++ b/lib/ldp-container.js @@ -122,7 +122,7 @@ function addStats (resourceGraph, reqUri, stats, filename) { ns.stat('size'), stats.size) - if (mime.lookup(filename)) { // Is the file has a well-known type, + if (!reqUri.endsWith('/') && mime.lookup(filename)) { // Is the file has a well-known type, let type = 'http://www.w3.org/ns/iana/media-types/' + mime.lookup(filename) + '#Resource' resourceGraph.add( resourceGraph.sym(reqUri),