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)
- Function to set domain
| Name | Type | Description |
|---|---|---|
domain |
string | Name of domain |
setEngine(app, directory, template)
- Source:
- See:
-
- `/config/domains.js` for more information.
- Helper function to set the app engine
| Name | Type | Description |
|---|---|---|
app |
Object |
|
directory |
string | Directory location of app. |
template |
string | Type of app you're using. |