update to use SAS key
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {
|
||||
createContainer,
|
||||
createContainerSas,
|
||||
getContainers,
|
||||
getBlobs,
|
||||
uploadFile,
|
||||
@@ -21,7 +22,7 @@ ApiProxy.get(async (req, res) => {
|
||||
//console.log(hashAPIPath(checkquerypath) == "&hash=" + checkHash);
|
||||
|
||||
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||
await createContainer(containerName)
|
||||
await createContainerSas(containerName)
|
||||
.then((data) => {
|
||||
return res.status(200).json({ data: "success" });
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user