diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..343532a --- /dev/null +++ b/.env.example @@ -0,0 +1,19 @@ +# Google API Credentials +VITE_GOOGLE_CLIENT_ID='your_google_client_id' +VITE_GOOGLE_API_KEY='your_google_api_key' + +# Cloudflare Worker +CLOUDFLARE_API_TOKEN='your_cloudflare_token' +CLOUDFLARE_ACCOUNT_ID='your_account_id' +CLOUDFLARE_ZONE_ID='your_zone_id' + +# Worker URL +TLDRAW_WORKER_URL='your_worker_url' + +# R2 Bucket Configuration +R2_BUCKET_NAME='your_bucket_name' +R2_PREVIEW_BUCKET_NAME='your_preview_bucket_name' + +# Daily.co Configuration +DAILY_API_KEY='your_daily_api_key' +DAILY_DOMAIN='your_daily_domain' \ No newline at end of file diff --git a/.gitignore b/.gitignore index 5912752..46f7caa 100644 --- a/.gitignore +++ b/.gitignore @@ -180,4 +180,14 @@ dist # Environment variables .env* -!.env.example \ No newline at end of file +!.env.example +.vercel + +# Environment files +.env +.env.local +.env.*.local +.dev.vars + +# Keep example file +!.env.example diff --git a/index.html b/index.html index 063435a..f59f4da 100644 --- a/index.html +++ b/index.html @@ -1,42 +1,45 @@ -
-Joining room...
- ) : isInRoom && shape.props.roomUrl && typeof window !== 'undefined' ? ( -{error}
} -{error}
}