const path = require('path')

module.exports = {
    http: {
        port: process.env.DEV ? 8080 : 8050,
        favicon: path.join(__dirname, '../assets/favicon.ico')
    },
    server: {
        SSR: true, // Server side rendering
        certificate: path.join(__dirname, '../../fullchain.pem'),
        certificate_key: path.join(__dirname, '../../privkey.pem'),
    },
    static: [
        {
            url: '/build',
            path: path.join(__dirname, '../../build')
        },
        {
            url: '/assets',
            path: path.join(__dirname, '../assets')
        },
        {
            url: '/static',
            path: path.join(__dirname, '../docs')
        }
    ]
}

const path = require('path')

module.exports = {
    http: {
        port: process.env.DEV ? 8080 : 8050,
        favicon: path.join(__dirname, '../assets/favicon.ico')
    },
    server: {
        SSR: false, // Server side rendering
        certificate: path.join(__dirname, '../../fullchain.pem'),
        certificate_key: path.join(__dirname, '../../privkey.pem'),
    },
    static: [
        {
            url: '/build',
            path: path.join(__dirname, '../../build')
        },
        {
            url: '/assets',
            path: path.join(__dirname, '../assets')
        },
        {
            url: '/static',
            path: path.join(__dirname, '../docs')
        }
    ]
}

Disable SSR for speed testing
Disable SSR for speed testing
