22 lines
469 B
TypeScript
22 lines
469 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@${env.DOMAIN}`,
|
|
info: `contact@${env.DOMAIN}`,
|
|
},
|
|
}
|