-
Notifications
You must be signed in to change notification settings - Fork 12
/
next.config.js
26 lines (26 loc) · 974 Bytes
/
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
module.exports = {
// async rewrites() {
// return [
// {
// source: "/api/:path*",
// destination: "https://research-vaccines-lambda.s3.amazonaws.com/data/:path*" // Proxy to Backend
// }
// ];
// },
exportPathMap: async function (defaultPathMap, { dev, dir, outDir, distDir, buildId }) {
return {
"/": { page: "/" },
"/vaccinations/index": { page: "/vaccinations" },
"/space-flight/index": { page: "/space-flight" },
"/map-vis/index": { page: "/map-vis" },
"/timeline/index": { page: "/timeline" },
"/women-in-tech/index": { page: "/women-in-tech" },
"/olympics/index": { page: "/olympics" },
"/paralympics/index": { page: "/paralympics" },
"/amazon/index": { page: "/amazon" },
"/soccer/index": { page: "/soccer" },
"/winter-olympics/index": { page: "/winter-olympics" },
"/winter-olympic-cities/index": { page: "/winter-olympic-cities" }
};
}
};