const port = process.env.PORT || 9005

const routesByEnv = {
  development: {
    APPS_BASE_PATH: 'https://local.cloudflareapps.com:9000/apps',
    PAGES_BASE_PATH: `http://localhost:${port}/pages`
  },
  production: {
    APPS_BASE_PATH: 'https://cloudflare.com/apps',
    PAGES_BASE_PATH: 'https://cloudflare-apps.github.io/sable'
  }
}

module.exports = {port, routesByEnv}
