diff --git a/src/pages/files/[fileId].js b/src/pages/files/[fileId].js
index 97f3aa6..fbf15a1 100644
--- a/src/pages/files/[fileId].js
+++ b/src/pages/files/[fileId].js
@@ -96,7 +96,7 @@ export default function File({ isValidFile, fileData }) {
return (
<>
{metaData}
-
+
Invalid File
@@ -123,7 +123,7 @@ export default function File({ isValidFile, fileData }) {
return (
<>
{metaData}
-
+
{originalFileName} ({fileId}.{ext})
@@ -167,6 +167,6 @@ export async function getStaticProps({ params }) {
isValidFile: file !== null,
fileData: JSON.stringify(file || []),
},
- revalidate: 300, // 5 minutes
+ revalidate: 60, // 1 minute
};
}
diff --git a/src/pages/index.js b/src/pages/index.js
index 2e61de5..d787447 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -3,7 +3,7 @@ import Link from "next/link";
export default function Home() {
return (
-