New news detail json

This commit is contained in:
Yifei Hu 2024-07-09 14:17:37 +08:00
parent 858dc41ebb
commit 146a3fdd5e
15 changed files with 2336 additions and 3021 deletions

View file

@ -2,14 +2,20 @@
// eslint-disable-next-line no-undef, @typescript-eslint/no-var-requires
const webpack = require("webpack");
/** @type {import('next').NextConfig} */
/** @type {import("next").NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
hostname: "s2.googleusercontent.com",
protocol: "https",
hostname: "**",
},
{
protocol: "http",
hostname: "**",
},
],
domains: ["raw.githubusercontent.com"],
},
webpack: (config, { isServer }) => {
@ -36,4 +42,4 @@ const nextConfig = {
};
// eslint-disable-next-line no-undef
module.exports = nextConfig;
module.exports = nextConfig;