pad.pub0.org/doc/jsdoc/settings.md

33 lines
534 B
Markdown
Raw Normal View History

2011-05-30 14:53:11 +00:00
# settings
2011-05-29 20:30:56 +00:00
`require("./settings");`
2011-05-30 14:53:11 +00:00
The Settings Modul reads the settings out of settings.json and provides
this information to the other modules
2011-05-29 20:30:56 +00:00
##Variables
2011-05-30 15:05:42 +00:00
- - -
2011-05-30 14:53:11 +00:00
### dbSettings
This setting is passed with dbType to ueberDB to set up the database
2011-05-29 20:30:56 +00:00
2011-05-30 15:05:42 +00:00
- - -
2011-05-30 14:53:11 +00:00
### dbType
2011-05-29 20:30:56 +00:00
2011-05-30 15:05:42 +00:00
- - -
2011-05-30 14:53:11 +00:00
### defaultPadText
The default Text of a new pad
2011-05-29 20:30:56 +00:00
2011-05-30 15:05:42 +00:00
- - -
2011-05-30 14:53:11 +00:00
### logHTTP
A flag that shows if http requests should be loged to stdout
2011-05-29 20:30:56 +00:00
2011-05-30 15:05:42 +00:00
- - -
2011-05-30 14:53:11 +00:00
### minify
A flag that shows if minification is enabled or not
2011-05-29 20:30:56 +00:00
2011-05-30 15:05:42 +00:00
- - -
2011-05-30 14:53:11 +00:00
### port
The Port ep-lite should listen to
2011-05-29 20:30:56 +00:00