27 lines
498 B
JavaScript
27 lines
498 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const { version } = require("./package.json");
|
|
const { i18n } = require("./next-i18next.config");
|
|
|
|
const nextConfig = {
|
|
i18n,
|
|
reactStrictMode: true,
|
|
images: {
|
|
// For fetching the favicons
|
|
domains: ["t2.gstatic.com"],
|
|
|
|
// For profile pictures (Google OAuth)
|
|
remotePatterns: [
|
|
{
|
|
hostname: "*.googleusercontent.com",
|
|
},
|
|
],
|
|
|
|
minimumCacheTTL: 10,
|
|
},
|
|
env: {
|
|
version,
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|