Global

Members

(constant) domains

Source:
Properties:
Name Type Description
directory string

Location of your app.

template string

The type of app

  • Object containing domains, their directory, and template type. React: Use template 'html' and point to build/index.html. Python: Use childe_process.spawn or exec to call your app.

Methods

setDomain(domain)

Source:
  • Function to set domain
Name Type Description
domain string

Name of domain key from /config/domains.js

setEngine(app, directory, template)

Source:
See:
  • `/config/domains.js` for more information.
  • Helper function to set the app engine
Name Type Description
app Object

express() app object passed from server or app, depending on template.

directory string

Directory location of app.

template string

Type of app you're using.