You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i want to set meta data when uploading an image like cache-control
this is an example from firebase documentation , i want using this in .net thanks for helping
import { getStorage, ref, uploadBytes } from "firebase/storage";
const storage = getStorage();
const storageRef = ref(storage, 'images/mountains.jpg');
// Create file metadata including the content type
/** @type {any} */
const metadata = {
cacheControl: 'public,max-age=300',
};
// Upload the file and metadata
const uploadTask = uploadBytes(storageRef, file, metadata);
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
i want to set meta data when uploading an image like cache-control
this is an example from firebase documentation , i want using this in .net thanks for helping
The text was updated successfully, but these errors were encountered: