Serve web catalogue and resume PDFs at /webcatalogue and /resume.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-29 07:26:53 +03:30
co-authored by Cursor
parent 3a9b2b40a6
commit aaa3078145
3 changed files with 12 additions and 0 deletions
+12
View File
@@ -3,6 +3,18 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Smaller production runtime: deploy copies .next/standalone and drops node_modules.
output: "standalone",
async rewrites() {
return [
{
source: "/webcatalogue",
destination: "/files/Havaran-Web-Catalogue.pdf",
},
{
source: "/resume",
destination: "/files/Havaran-Resume.pdf",
},
];
},
images: {
remotePatterns: [
{
Binary file not shown.
Binary file not shown.