mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
16 lines
309 B
JavaScript
16 lines
309 B
JavaScript
const withImages = require('next-images')
|
|
const p = require('./package.json')
|
|
|
|
const version = p.version;
|
|
|
|
module.exports = withImages({
|
|
poweredByHeader: false,
|
|
publicRuntimeConfig: {
|
|
endpoint: process.env.API_HOST || '/graphql',
|
|
spa: !!process.env.SPA || false,
|
|
},
|
|
env: {
|
|
version,
|
|
}
|
|
})
|