forked from alii/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.mjs
53 lines (47 loc) · 1015 Bytes
/
next.config.mjs
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { config as dotenv } from 'dotenv';
// @ts-check
/** @type {import("next").NextConfig} */
const config = {
env: dotenv(),
webpack: (config, options) => {
config.module.rules.push({
test: /\.wasm$/,
use: ['url-loader'],
});
return config;
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'i.scdn.co',
pathname: '/image/*',
},
],
},
async redirects() {
return [
{
source: '/hello',
destination: 'https://www.youtube.com/watch?v=pCKDrDvaOKE&ab_channel=Slyfer2812',
permanent: true,
},
{
source: '/28:06:42:12',
destination: 'https://youtu.be/hnd-9ZfEmes?t=136',
permanent: true,
},
{
source: '/rickets',
destination: 'https://www.youtube.com/watch?v=5WC_tw2q7C8&pp=ygUQcmlja2V0cyBkZWZ0b25lcw%3D%3D',
permanent: true,
},
{
source: '/tape',
destination: 'https://www.youtube.com/watch?v=f0pdwd0miqs&pp=ygUHc2V4dGFwZQ%3D%3D',
permanent: true,
},
];
},
};
export default config;