Serve web catalogue and resume PDFs at /webcatalogue and /resume.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
3a9b2b40a6
commit
aaa3078145
@@ -3,6 +3,18 @@ import type { NextConfig } from "next";
|
|||||||
const nextConfig: NextConfig = {
|
const nextConfig: NextConfig = {
|
||||||
// Smaller production runtime: deploy copies .next/standalone and drops node_modules.
|
// Smaller production runtime: deploy copies .next/standalone and drops node_modules.
|
||||||
output: "standalone",
|
output: "standalone",
|
||||||
|
async rewrites() {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
source: "/webcatalogue",
|
||||||
|
destination: "/files/Havaran-Web-Catalogue.pdf",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/resume",
|
||||||
|
destination: "/files/Havaran-Resume.pdf",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
},
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user