From 4d2c29426a77c7377f271ebc4d183a6d90d1e981 Mon Sep 17 00:00:00 2001 From: Hex Sullivan Date: Wed, 20 May 2026 11:02:33 +0000 Subject: [PATCH] fix(app-router): correct PM2 ecosystem env block JS syntax Trailing semicolon inside an object literal is invalid JavaScript. Users copying the `ecosystem.config.js` snippet would get a parse error from PM2, breaking the OPENCLAW_HOOK_TOKEN env injection for the webhook bearer flow. Co-Authored-By: Claude Sonnet 4.6 --- devops/app-router/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devops/app-router/README.md b/devops/app-router/README.md index 6e4598d..3882667 100644 --- a/devops/app-router/README.md +++ b/devops/app-router/README.md @@ -185,7 +185,7 @@ don't need to send auth themselves. the PM2 ecosystem env block in `ecosystem.config.js`: ```js env: { - OPENCLAW_HOOK_TOKEN: "your-token-here"; + OPENCLAW_HOOK_TOKEN: "your-token-here", } ``` 2. Uncomment the `handle /hooks/* { ... }` block in the Caddyfile.