2022-02-21 18:50:05 +00:00
|
|
|
const API_DOCS_URL =
|
|
|
|
'https://manifoldmarkets.notion.site/Manifold-Markets-API-5e7d0aef4dcf452bb04b319e178fabc5'
|
|
|
|
|
2021-12-01 04:20:13 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
module.exports = {
|
|
|
|
reactStrictMode: true,
|
2022-01-14 23:05:12 +00:00
|
|
|
experimental: {
|
|
|
|
externalDir: true,
|
|
|
|
optimizeCss: true,
|
|
|
|
},
|
2021-12-10 23:43:22 +00:00
|
|
|
images: {
|
|
|
|
domains: ['lh3.googleusercontent.com'],
|
|
|
|
},
|
2022-02-21 18:50:05 +00:00
|
|
|
async redirects() {
|
|
|
|
return [
|
|
|
|
{
|
|
|
|
source: '/api',
|
|
|
|
destination: API_DOCS_URL,
|
|
|
|
permanent: false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
source: '/api/v0',
|
|
|
|
destination: API_DOCS_URL,
|
|
|
|
permanent: false,
|
|
|
|
},
|
|
|
|
]
|
|
|
|
},
|
2021-12-02 23:49:46 +00:00
|
|
|
}
|