Skip to content

Commit

Permalink
Add redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
cesalberca committed Nov 11, 2024
1 parent d174ad5 commit d39a780
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import createNextIntlPlugin from 'next-intl/plugin'
import withMDX from '@next/mdx'


const withNextIntl = createNextIntlPlugin('./src/core/i18n/i18n.tsx')

/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
async redirects() {
return [
{
source: '/chat',
destination: 'https://calendar.app.google/KvZAYd9okNjiY7iBA',
},
{
source: '/articles/:path*',
destination: '/blog/:path*',
Expand Down

0 comments on commit d39a780

Please sign in to comment.