summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorokfprojz <jules+okfprojz@okfoc.us>2016-04-14 20:36:57 -0400
committerokfprojz <jules+okfprojz@okfoc.us>2016-04-14 20:36:57 -0400
commit8a5c95a49d34a716c4f00e15b0128d56b877b9d7 (patch)
tree42eed71835a993d30a0cace512001692232960a2 /index.js
parent94f60430abc3d8f1e496384622a9310a919ce9b8 (diff)
using okwebhook
Diffstat (limited to 'index.js')
-rw-r--r--index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/index.js b/index.js
index 6740e11..293582b 100644
--- a/index.js
+++ b/index.js
@@ -74,7 +74,12 @@ var app = okcms.createApp({
image: { allowed: true, preserveFilename: false, maxbytes: 2*1024*1024 },
video: { allowed: true, preserveFilename: true, maxbytes: 200*1024*1024 },
audio: { allowed: true, preserveFilename: true, maxbytes: 100*1024*1024 },
+ },
+ webhook: {
+ active: isProduction,
+ secret: process.env.WEBHOOK_SECRET,
+ command: '/home/okfocus/portfolio/build.sh',
},
}