2022-12-02 10:55:56 +00:00
|
|
|
module.exports = {
|
|
|
|
|
i18n: {
|
|
|
|
|
locales: ["en", "fr"],
|
|
|
|
|
defaultLocale: "en",
|
|
|
|
|
},
|
2022-12-14 13:24:50 +01:00
|
|
|
async redirects() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
source: "/zammad#ticket/zoom/:path*",
|
|
|
|
|
destination: "/ticket/:path*",
|
|
|
|
|
permanent: true,
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
},
|
2023-02-10 12:14:44 +00:00
|
|
|
async rewrites() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
source: "/zammad",
|
|
|
|
|
destination: `http://link-shell-zammad-proxy-1:3000`,
|
|
|
|
|
},
|
2022-12-02 10:55:56 +00:00
|
|
|
{
|
2023-02-10 12:14:44 +00:00
|
|
|
source: "/zammad/:path*",
|
|
|
|
|
destination: `http://link-shell-zammad-proxy-1:3000/:path*`,
|
2022-12-02 10:55:56 +00:00
|
|
|
},
|
2023-02-10 12:14:44 +00:00
|
|
|
];
|
|
|
|
|
},
|
2022-12-02 10:55:56 +00:00
|
|
|
};
|