-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
51 lines (51 loc) · 1.28 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
module.exports = {
async redirects() {
return [
{
source: "/",
destination: `/${process.env.NEXT_PUBLIC_TARGET_FOLDER}`,
permanent: true,
},
{
source: "/sistemas",
destination: `/${process.env.NEXT_PUBLIC_SISTEMAS_FOLDER}`,
permanent: true,
},
{
source: "/civil",
destination: `/${process.env.NEXT_PUBLIC_CIVIL_FOLDER}`,
permanent: true,
},
{
source: "/quimica",
destination: `/${process.env.NEXT_PUBLIC_QUIMICA_FOLDER}`,
permanent: true,
},
{
source: "/ingreso",
destination: `/${process.env.NEXT_PUBLIC_INGRESO_FOLDER}`,
permanent: true,
},
{
source: "/electronica",
destination: `/${process.env.NEXT_PUBLIC_ELECTRONICA_FOLDER}`,
permanent: true,
},
{
source: "/electromecanica",
destination: `/${process.env.NEXT_PUBLIC_ELECTROMECANICA_FOLDER}`,
permanent: true,
},
{
source: "/basicas",
destination: `/${process.env.NEXT_PUBLIC_BASICAS_FOLDER}`,
permanent: true,
},
{
source: "/prof-marques",
destination: `/${process.env.NEXT_PUBLIC_MARQUES}`,
permanent: true,
},
];
},
};