Spooky Doors promo card link uses ?ref= (consistent with the other programs)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-02 16:07:09 -05:00
parent 2c2d93b2dc
commit 217802d577
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2670,7 +2670,7 @@ const server = http.createServer(async (req, res) => {
}
// -- Spooky Doors hand-off (2026-10-02): sign the member across; the game verifies with SD_SSO_SECRET
// -- Spooky Doors promo card in Promo tools (2026-10-02): shown on the same season window as the Games card (admin preview
// before the start). The member's link is SD_URL/r/<username>, built in the page from their own username.
// before the start). The member's link is SD_URL/?ref=<username>, built in the page from their own username.
if (p === '/api/my/spookydoors/promo' && req.method === 'GET') {
const s = await auth.fromRequest(req);
if (!s || !s.email) return json(res, 401, { error: 'Sign in first.' });