Files
wehub-resource-sync 979fb22d7c
CI / test (20, macos-latest) (push) Waiting to run
CI / test (20, ubuntu-latest) (push) Waiting to run
CI / test (22, macos-latest) (push) Waiting to run
CI / test (22, ubuntu-latest) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:01:18 +08:00

34 lines
1.1 KiB
TypeScript

import type { NextConfig } from "next";
import { fileURLToPath } from "node:url";
import { dirname } from "node:path";
const here = dirname(fileURLToPath(import.meta.url));
const config: NextConfig = {
reactStrictMode: true,
poweredByHeader: false,
turbopack: {
root: here,
},
images: {
dangerouslyAllowSVG: true,
contentDispositionType: "attachment",
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
remotePatterns: [
{ protocol: "https", hostname: "github.com" },
{ protocol: "https", hostname: "avatars.githubusercontent.com" },
{ protocol: "https", hostname: "raw.githubusercontent.com" },
{ protocol: "https", hostname: "matthiasroder.com" },
{ protocol: "https", hostname: "aaif.io" },
{ protocol: "https", hostname: "trendshift.io" },
{ protocol: "https", hostname: "api.producthunt.com" },
{ protocol: "https", hostname: "svgl.app" },
{ protocol: "https", hostname: "www.factory.ai" },
{ protocol: "https", hostname: "kiro.dev" },
{ protocol: "https", hostname: "continue.dev" },
],
},
};
export default config;