We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46947c commit b6425ebCopy full SHA for b6425eb
src/index.js
@@ -27,7 +27,7 @@ class CoCreateFileSystem {
27
28
async send(req, res, crud, organization, valideUrl) {
29
try {
30
- if (!organization) {
+ if (!organization || organization.error) {
31
let hostNotFound = await getDefaultFile('/hostNotFound.html')
32
return sendResponse(hostNotFound.object[0].src, 404, { 'Content-Type': 'text/html' })
33
}
0 commit comments