fix log
Some checks failed
Deploy / deploy (push) Failing after 2m0s

This commit is contained in:
Lee 2024-09-24 10:18:28 +01:00
parent 15d35b5817
commit 2802797a64

View File

@ -1,8 +1,7 @@
import { format } from "@formkit/tempo";
import nextBuildId from "next-build-id";
import path from 'path';
import { fileURLToPath } from 'url';
import {format} from '@formkit/tempo'
import path from "path";
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
const __dirname = path.dirname(__filename); // get the name of the directory
@ -22,10 +21,8 @@ const nextConfig = {
NEXT_PUBLIC_BUILD_TIME_SHORT: format(new Date(), {
date: "short",
time: "short",
})
}
}),
},
};
console.log(`NEXT_PUBLIC_BUILD_TIME_SHORT: ${nextConfig.env.NEXT_PUBLIC_BUILD_TIME_SHORT}`);
export default nextConfig;