Skip to content

Instantly share code, notes, and snippets.

View mike-luabase's full-sized avatar

Mike Ritchie mike-luabase

View GitHub Profile
const API_URL = 'https://app.posthog.com/';
const corsHeaders = {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Methods': 'GET,HEAD,POST,OPTIONS',
'Access-Control-Max-Age': '86400',
};
const ORIGIN = new URL(API_URL).origin