Files
resume/next.config.mjs
Evan d3344e8961 refactor: 移除未使用的代码和资源,优化项目结构
- 删除未使用的图片、SVG图标和组件
- 清理废弃的代码文件和依赖项
- 简化UI组件接口定义
- 更新部分文案为中文
- 移除博客相关功能
- 添加Telegram联系方式
2026-01-22 14:52:45 +08:00

32 lines
665 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
async headers() {
return [
{
source: "/:path*",
headers: [
{
key: "X-Content-Type-Options",
value: "nosniff",
},
{
key: "X-Frame-Options",
value: "DENY",
},
{
key: "Referrer-Policy",
value: "strict-origin-when-cross-origin",
},
{
key: "Permissions-Policy",
value: "camera=(), microphone=(), geolocation=()",
},
],
},
];
},
};
export default nextConfig;