Invite links answer HEAD too
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -435,7 +435,7 @@ const server = http.createServer(async (req, res) => {
|
|||||||
// Codes resolve LATE (at buy time) to whatever chain id the referrer
|
// Codes resolve LATE (at buy time) to whatever chain id the referrer
|
||||||
// has by then, so free members refer from day one.
|
// has by then, so free members refer from day one.
|
||||||
let m = /^\/join\/([A-Za-z0-9_]{1,20})$/.exec(p);
|
let m = /^\/join\/([A-Za-z0-9_]{1,20})$/.exec(p);
|
||||||
if (m && req.method === 'GET') {
|
if (m && (req.method === 'GET' || req.method === 'HEAD')) {
|
||||||
// lead-capture page: email first, wallet later. ?v=<angle> picks the hook
|
// lead-capture page: email first, wallet later. ?v=<angle> picks the hook
|
||||||
// copy and is remembered so the account records which angle converted.
|
// copy and is remembered so the account records which angle converted.
|
||||||
const tok = m[1].toLowerCase();
|
const tok = m[1].toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user