diff --git a/src/pages/files/[fileId].js b/src/pages/files/[fileId].js
index fee978c..deb04a3 100644
--- a/src/pages/files/[fileId].js
+++ b/src/pages/files/[fileId].js
@@ -95,13 +95,7 @@ export default function File({ isValidFile, fileData }) {
if (isValidFile) {
if (isImage) {
toShow = (
-
+
);
}
if (isVideo) {
@@ -156,5 +150,6 @@ export async function getStaticProps({ params }) {
isValidFile: file !== null,
fileData: JSON.stringify(file || []),
},
+ revalidate: 300, // 5 minutes
};
}