-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnext.config.js
35 lines (33 loc) · 978 Bytes
/
next.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const withMDX = require('@next/mdx')()
/** @type {import('next').NextConfig} */
const nextConfig = {
// Configure `pageExtensions` to include MDX files
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
images: {
remotePatterns: [
{
protocol: "https",
hostname: "play.google.com"
},
{
protocol: "https",
hostname: "bucket.waktusolat.app"
}
]
},
redirects: async () => {
return [
{
source: "/play",
destination: "https://play.google.com/store/apps/details?id=live.iqfareez.waktusolatmalaysia",
permanent: true
},
{
source: "/gh",
destination: "https://github.com/mptwaktusolat/app_waktu_solat_malaysia",
permanent: true
}
]
}
}
module.exports = withMDX(nextConfig)