feat: use photos as prefix
This commit is contained in:
parent
2f6a7688e9
commit
f995b0e234
@ -74,7 +74,7 @@ export async function getStaticProps() {
|
||||
const minioObjects = await new Promise((resolve, reject) => {
|
||||
const data = [];
|
||||
|
||||
const stream = mc.listObjectsV2(minioBucket, "", true, "");
|
||||
const stream = mc.listObjectsV2(minioBucket, "photos", true, "");
|
||||
|
||||
stream.on("data", (obj) => data.push(obj.name));
|
||||
stream.on("error", reject);
|
||||
|
Loading…
Reference in New Issue
Block a user