upd: change date to timestamp

This commit is contained in:
oiov
2024-08-07 16:54:45 +08:00
parent 248f0c42ae
commit 12825df032
2 changed files with 2 additions and 2 deletions
@@ -37,7 +37,7 @@ export default function MetaScraping() {
lang: "",
author: "",
publisher: "",
date: "",
timestamp: "",
});
const [isScraping, setIsScraping] = useState(false);
+1 -1
View File
@@ -69,7 +69,7 @@ export async function GET(req: Request) {
lang,
author,
publisher,
date: new Date(),
timestamp: Date.now(),
});
} catch (error) {
console.log(error);