95 lines
2.0 KiB
TypeScript
95 lines
2.0 KiB
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
images: {
|
|
qualities: [75, 90, 95],
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/loyaly_php/index.php',
|
|
destination: '/',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/index.php',
|
|
destination: '/',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/loyaly_php/about_us.php',
|
|
destination: '/about_us',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/about_us.php',
|
|
destination: '/about_us',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/loyaly_php/use_cases.php',
|
|
destination: '/for_business',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/use_cases.php',
|
|
destination: '/for_business',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/loyaly_php/solutions_page.php',
|
|
destination: '/meet_the_agents',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/solutions_page.php',
|
|
destination: '/meet_the_agents',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/loyaly_php/blog_main.php',
|
|
destination: '/blog_main',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/blog_main.php',
|
|
destination: '/blog_main',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/loyaly_php/blog_single_page.php',
|
|
destination: '/blog_single_page',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/blog_single_page.php',
|
|
destination: '/blog_single_page',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/loyaly_php/contacts.php',
|
|
destination: '/contacts',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/contacts.php',
|
|
destination: '/contacts',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/loyaly_php/faq.php',
|
|
destination: '/faq',
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: '/faq.php',
|
|
destination: '/faq',
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|