summaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
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',
},
}