mirror of
https://github.com/Thream/website.git
synced 2024-07-21 09:28:32 +02:00
18 lines
378 B
JavaScript
18 lines
378 B
JavaScript
|
const nextTranslate = require('next-translate')
|
||
|
const nextPWA = require('next-pwa')
|
||
|
|
||
|
module.exports = nextTranslate(
|
||
|
nextPWA({
|
||
|
pwa: {
|
||
|
disable: process.env.NODE_ENV !== 'production',
|
||
|
dest: 'public'
|
||
|
},
|
||
|
images: {
|
||
|
domains: [
|
||
|
'api.thream.divlo.fr',
|
||
|
...(process.env.NODE_ENV === 'development' ? ['localhost'] : [])
|
||
|
]
|
||
|
}
|
||
|
})
|
||
|
)
|