2022-12-02 10:55:56 +00:00
|
|
|
module.exports = {
|
|
|
|
|
i18n: {
|
|
|
|
|
locales: ["en", "fr"],
|
|
|
|
|
defaultLocale: "en",
|
|
|
|
|
},
|
2023-02-22 13:05:52 +00:00
|
|
|
/*
|
2022-12-14 13:24:50 +01:00
|
|
|
async redirects() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
source: "/zammad#ticket/zoom/:path*",
|
|
|
|
|
destination: "/ticket/:path*",
|
|
|
|
|
permanent: true,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2023-03-01 11:02:15 +00:00
|
|
|
*/
|
|
|
|
|
rewrites: async () => ({
|
|
|
|
|
fallback: [
|
|
|
|
|
{
|
|
|
|
|
source: "/:path*",
|
|
|
|
|
destination: "/api/proxy/:path*",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}),
|
2022-12-02 10:55:56 +00:00
|
|
|
};
|