mirror of
https://github.com/qwertyforce/scenery.git
synced 2025-05-01 21:20:09 +00:00
23 lines
690 B
JavaScript
23 lines
690 B
JavaScript
require('sharp') //https://github.com/lovell/sharp/issues/2655#issuecomment-815684743
|
|
module.exports = {
|
|
poweredByHeader: false,
|
|
compress: false,
|
|
// typescript: {ignoreBuildErrors: true},
|
|
optimizeFonts: false, //fix flickering font
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/last_added/1'
|
|
}
|
|
]
|
|
},
|
|
env: { //https://nextjs.org/docs/api-reference/next.config.js/environment-variables
|
|
recaptcha_site_key: "6LcqV9QUAAAAAEybBVr0FWnUnFQmOVxGoQ_Muhtb",
|
|
api_domain: "http://localhost/public_api",
|
|
reverse_search_url: "http://localhost",
|
|
domain: "http://localhost",
|
|
ipns: "ipns.scenery.cx"
|
|
},
|
|
distDir: '_next'
|
|
} |