30 lines
557 B
JavaScript
30 lines
557 B
JavaScript
module.exports = {
|
|
i18n: {
|
|
locales: ["en", "fr"],
|
|
defaultLocale: "en",
|
|
},
|
|
/*
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/zammad#ticket/zoom/:path*",
|
|
destination: "/ticket/:path*",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
async rewrites() {
|
|
return {
|
|
beforeFiles: [
|
|
{
|
|
source: "/assets/:path*",
|
|
destination: `/zammad/assets/:path*`,
|
|
},
|
|
{
|
|
source: "/api/v1/:path*",
|
|
destination: `/zammad/api/v1/:path*`,
|
|
},
|
|
],
|
|
};
|
|
}, */
|
|
};
|