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:
@@ -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.' });
|
||||
|
||||
Reference in New Issue
Block a user