-
Notifications
You must be signed in to change notification settings - Fork 0
/
next.config.js
123 lines (122 loc) · 2.96 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
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
reactCompiler: true,
},
reactStrictMode: true,
basePath: "",
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: [
{
hostname: "localhost",
port: "3000",
},
{
protocol: "https",
hostname: "makersleague.de",
},
{
protocol: "https",
hostname: "**.vercel.app",
},
],
},
async rewrites() {
return [
{
source: "/bee.js",
destination: "https://cdn.splitbee.io/sb.js",
},
{
source: "/_hive/:slug",
destination: "https://hive.splitbee.io/:slug",
},
];
},
async redirects() {
return [
{
source: "/haeufige-fragen",
destination: "/faqs",
permanent: true,
},
{
source: "/unsere-mitglieder",
destination: "/mitglieder",
permanent: true,
},
{
source: "/core-values",
destination: "/ueber#values",
permanent: true,
},
{
source: "/2021/04/30/1-aller-anfang-ist-leer",
destination: "/einblicke/aller-anfang-ist-leer",
permanent: true,
},
{
source: "/2021/05/18/2-vom-trauen-und-trauern",
destination: "/einblicke/vom-trauen-und-trauern",
permanent: true,
},
{
source: "/2021/06/07/3-aufbruchsstimmung/",
destination: "/einblicke/aufbruchsstimmung",
permanent: true,
},
{
source: "/2021/07/29/4-home-sweet-home",
destination: "/einblicke/home-sweet-home",
permanent: true,
},
{
source: "/2021/12/23/5-noch-einmal-mit-gefuehl/",
destination: "/einblicke/noch-einmal-mit-gefuehl",
permanent: true,
},
{
source: "/blog",
destination: "/einblicke",
permanent: true,
},
{
source: "/blog/aller-anfang-ist-leer",
destination: "/einblicke/aller-anfang-ist-leer",
permanent: true,
},
{
source: "/blog/vom-trauen-und-trauern",
destination: "/einblicke/vom-trauen-und-trauern",
permanent: true,
},
{
source: "/blog/aller-anfang-ist-leer",
destination: "/einblicke/aller-anfang-ist-leer",
permanent: true,
},
{
source: "/blog/aufbruchsstimmung",
destination: "/einblicke/aller-anfang-ist-leer",
permanent: true,
},
{
source: "/blog/home-sweet-home",
destination: "/einblicke/home-sweet-home",
permanent: true,
},
{
source: "/blog/noch-einmal-mit-gefuehl",
destination: "/einblicke/noch-einmal-mit-gefuehl",
permanent: true,
},
{
source: "/blog/endlich-wieder-leben-in-der-bude",
destination: "/einblicke/endlich-wieder-leben-in-der-bude",
permanent: true,
},
];
},
};
module.exports = nextConfig;