22 lines
No EOL
700 B
JavaScript
Executable file
22 lines
No EOL
700 B
JavaScript
Executable file
// next.config.js
|
|
const withCSS = require('@zeit/next-css');
|
|
const withFonts = require('next-fonts');
|
|
const withImages = require('next-images');
|
|
const withPlugins = require("next-compose-plugins");
|
|
|
|
module.exports = withPlugins([withCSS, withFonts, withImages])
|
|
module.exports = {
|
|
serverRuntimeConfig: {
|
|
// Will only be available on the server side
|
|
base_path: 'http://localhost:1337/api/',
|
|
audio_path: 'https://audio.angrybeanie.com/',
|
|
media_path: process.env.MEDIA_BASE,
|
|
strapi_token: process.env.STRAPI_TOKEN
|
|
},
|
|
images: {
|
|
domains: ['www.angrybeanie.com', 'localhost', 'cms.local.angrybeanie.com']
|
|
},
|
|
publicRuntimeConfig: {
|
|
analytics_code: 'UA-2497299-19'
|
|
}
|
|
} |