-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext.config.js
152 lines (150 loc) · 4.2 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
const remarkHighlight = require("remark-highlight.js");
const remarkSmartypants = require("@silvenon/remark-smartypants");
const withMDX = require("@next/mdx")({
options: {
remarkPlugins: [remarkHighlight, remarkSmartypants],
rehypePlugins: [],
},
});
module.exports = withMDX({
pageExtensions: ["js", "tsx", "mdx"],
images: {
domains: ["pbs.twimg.com"],
},
async redirects() {
return [
{
source: "/beverages",
destination:
"https://workflowy.com/s/beverages-id-enjoy-a/oaRwwKAzGyJF25dt",
permanent: true,
},
{
source: "/blog",
destination: "/",
permanent: true,
},
{
source: "/connect",
destination: "/about",
permanent: true,
},
{
source: "/console-log-after-reload",
destination: "/blog/console-log-after-reload",
permanent: true,
},
{
source: "/coursera-assignment",
destination:
"https://github.com/TyMick/coursera-neural-networks-assignment/blob/master/complete_writeup.ipynb",
permanent: true,
},
{
source: "/covid-19-social-distancing",
destination: "/blog/covid-19-social-distancing",
permanent: true,
},
{
source: "/facebook",
destination: "https://www.facebook.com/tywmick",
permanent: true,
},
{
source: "/fcc1",
destination:
"https://www.freecodecamp.org/certification/tymick/responsive-web-design",
permanent: true,
},
{
source: "/fcc2",
destination:
"https://www.freecodecamp.org/certification/tymick/javascript-algorithms-and-data-structures",
permanent: true,
},
{
source: "/fcc3",
destination:
"https://www.freecodecamp.org/certification/tymick/front-end-libraries",
permanent: true,
},
{
source: "/fcc5",
destination:
"https://www.freecodecamp.org/certification/tymick/apis-and-microservices",
permanent: true,
},
{
source: "/fcc6",
destination:
"https://www.freecodecamp.org/certification/tymick/information-security-and-quality-assurance",
permanent: true,
},
{
source: "/freecodecamp-contributions",
destination:
"https://github.com/freeCodeCamp/freeCodeCamp/pulls?q=author%3ATyMick+is%3Apr+is%3Amerged",
permanent: true,
},
{
source: "/github",
destination: "https://github.com/TyMick",
permanent: true,
},
{
source: "/instagram",
destination: "https://instagram.com/tywmick",
permanent: true,
},
{
source: "/linkedin",
destination: "https://www.linkedin.com/in/tymick",
permanent: true,
},
{
source: "/loan-risk-neural-network",
destination: "/blog/loan-risk-neural-network",
permanent: true,
},
{
source: "/nextjs",
destination:
"https://github.com/vercel/next.js/pulls?q=author%3ATyMick",
permanent: true,
},
{
source: "/nextjs-contributions",
destination:
"https://github.com/vercel/next.js/pulls?q=author%3ATyMick+is%3Apr+is%3Amerged",
permanent: true,
},
{
source: "/python-apis",
destination: "/portfolio#python-apis",
permanent: true,
},
{
source: "/starship-noise",
destination:
"https://mynoise.net/superGenerator.php?g1=spaceshipNoiseGenerator.php%3Fl%3D40404030400000000015%26a%3D1%26am%3D1%26c%3D3&g2=modernSpaceshipNoiseGenerator.php%3Fl%3D00000040000000000025%26a%3D1%26am%3D1%26c%3D3&g3=&g4=&g5=&yt=",
permanent: true,
},
{
source: "/twitter",
destination: "https://twitter.com/tywmick",
permanent: true,
},
{
source: "/wishlist",
destination:
"https://www.amazon.com/hz/wishlist/ls/18NUWAXWOM98H?ref_=wl_share",
permanent: true,
},
{
source: "/youtube",
destination: "https://www.youtube.com/tylerwestinmick",
permanent: true,
},
];
},
});