rsnext/examples/with-docker/next.config.js

10 lines
246 B
JavaScript
Raw Normal View History

// next.config.js
module.exports = {
serverRuntimeConfig: { // Will only be available on the server side
mySecret: 'secret'
},
publicRuntimeConfig: { // Will be available on both server and client
API_URL: process.env.API_URL
}
}