make example more sane.
This commit is contained in:
parent
e28919ebaa
commit
204984dfde
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ const mainHTML = global.marked.parse(`# Welcome to ContentCraft!
|
|||
|
||||
PS: PRO TIP - USE "global" WHEN YOU WANT TO USE VARIABLES CROSS-ADDON.
|
||||
|
||||
Example - \`global.quickdb = require("quick.db")\``)
|
||||
Example - \`const {QuickDB} = require("quick.db")
|
||||
global.db = new QuickDB()\``)
|
||||
|
||||
global.app.get('/', (req, res) => {
|
||||
res.send(mainHTML);
|
||||
|
|
Loading…
Reference in a new issue