mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-18 15:29:36 +00:00
54 lines
1.4 KiB
JavaScript
54 lines
1.4 KiB
JavaScript
/** @type {import('next').NextConfig} */
|
|
/**
|
|
* Marketing static files: frontend/public/dealix-* (sync: node scripts/sync-marketing-to-public.cjs)
|
|
* Redirects fix 404 when opening /dealix-marketing without index.html (Next static serving).
|
|
*/
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
pathname: "/**",
|
|
},
|
|
],
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/dealix-marketing",
|
|
destination: "/dealix-marketing/index.html",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/dealix-marketing/",
|
|
destination: "/dealix-marketing/index.html",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/dealix-presentations",
|
|
destination: "/dealix-presentations/00-dealix-company-master-ar.html",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/dealix-presentations/",
|
|
destination: "/dealix-presentations/00-dealix-company-master-ar.html",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/investors",
|
|
destination: "/dealix-marketing/investor/00-investor-dealix-full-ar.html",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/investors/",
|
|
destination: "/dealix-marketing/investor/00-investor-dealix-full-ar.html",
|
|
permanent: false,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|