22 lines
463 B
TypeScript
22 lines
463 B
TypeScript
import env from '../env.ts'
|
|
|
|
export default {
|
|
title: 'BRF',
|
|
name: 'brf',
|
|
port: env.PORT,
|
|
hostname: env.HOSTNAME,
|
|
domain: env.DOMAIN,
|
|
protocol: env.PROTOCOL,
|
|
localHost: `http://localhost:${env.FASTIFY_PORT}`,
|
|
get host() {
|
|
return this.port ? `${this.hostname}:${this.port}` : this.hostname
|
|
},
|
|
get url() {
|
|
return `${this.protocol}://${this.host}/`
|
|
},
|
|
emails: {
|
|
robot: `no-reply@bitmill.io`,
|
|
info: 'contact@bitmill.io',
|
|
},
|
|
}
|