diff --git a/README.md b/README.md index e9f2862af..26d9f6ae1 100644 --- a/README.md +++ b/README.md @@ -401,14 +401,15 @@ 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 :) +- [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 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),