Working with Minio & Azure (missing Team management)

This commit is contained in:
Luis Fernando Molina committed 2019-04-06 21:24:06 +02:00
1 parent 32d4444782
commit a92ccff265
4 files changed
+135 -79

No files matched your search

+3 -4
View File
@@ -221,20 +221,19 @@ function onBrowserRequest (request, response) {
let request = JSON.parse(pData);
fileStorage.getFile(container, path, onReady);
storage.readData(undefined, request.path, request.conatinerName, false, onReady)
function onReady(err, pFileContent) {
let response = {
let responseToClient = {
err: err,
text: pFileContent
};
respondWithContent(JSON.stringify(response));
respondWithContent(JSON.stringify(responseToClient), response);
}
}
respondWithFile(filePath, response)
break;
}
case 'Plotter.js':