-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
25 lines (25 loc) · 1.14 KB
/
next.config.js
File metadata and controls
25 lines (25 loc) · 1.14 KB
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
module.exports = {
reactStrictMode: true,
images: {
domains: ['zwalet.herokuapp.com', 'cdn.pixabay.com', 'res.cloudinary.com']
},
rewrites: async = () => {
return [
{ source: '/auth/register', destination: '/register' },
{ source: '/auth/login', destination: '/login' },
{ source: '/auth/forgot/password', destination: '/password' },
{ source: '/user/pin', destination: '/pin' },
{ source: '/home/topup', destination: '/topup' },
{ source: '/home/transfer', destination: '/transfer' },
{ source: '/home/profile', destination: '/profile' },
{ source: '/home/history', destination: '/history' },
{ source: '/home/confirmation', destination: '/confirmation' },
{ source: '/transfer/success', destination: '/successTransfer' },
{ source: '/personal/information', destination: '/personalInformation' },
{ source: '/manage/phone-number', destination: '/managePhoneNumber' },
{ source: '/change-password', destination: '/changePassword' },
{ source: '/change-pin', destination: '/changePin' },
{ source: '/reset-password/:key', destination: '/resetPassword' }
]
}
}