Class: AppConfig documentation

config~AppConfig()

An AppConfig class trying to unify alls methods and var used by pages

Constructor

new AppConfig()

Source:

Members

favopts

Favicon static param

Source:

fs

fs module import

Source:

httpopts

Http header sec settings

Source:

ni

network interface import

Source:

os

os dep to get network interface

Source:

srvcert

Https server cert filepath

Source:

srvkey

Https server key filepath

Source:

vaddr

what ip should i get ?

Source:
To Do:
  • : Add new methods to better select listening interface

Methods

gettorhostnames() → {Object}

check tor hostname if onion service set

Source:
Returns:

rt

Type
Object

httpsc() → {Object}

Https parameter key + cert (self signed)

Source:
Returns:

httpsc

Type
Object