scoresaber-reloaded-v2/next.config.js
Liam c743745889
All checks were successful
deploy / deploy (push) Successful in 49s
im so smart - fix building
2023-10-20 12:04:29 +01:00

30 lines
589 B
JavaScript

const nextBuildId = require("next-build-id");
/** @type {import('next').NextConfig} */
const nextConfig = {
generateEtags: true,
compress: true,
env: {
NEXT_PUBLIC_BUILD_ID:
process.env.GIT_REV || nextBuildId.sync({ dir: __dirname }),
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "cdn.fascinated.cc",
port: "",
pathname: "/**",
},
{
protocol: "https",
hostname: "cdn.scoresaber.com",
port: "",
pathname: "/**",
},
],
},
};
module.exports = nextConfig;