Skip to content

Commit d9c8193

Browse files
hackall360claude
andcommitted
Feat: Update visitor tracking API and add age verification to apps
- Update visitor-tracking.js to use new API at users.unityailab.com - Add localhost proxy detection for dev environment CORS handling - Add age verification system to /apps page - Add total unique visitors counter to main index page - Fix 0-count display bug (JavaScript falsy value issue) - Add Vite dev server proxy and URL rewriting for multi-page app 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent acd88ea commit d9c8193

File tree

8 files changed

+895
-193
lines changed

8 files changed

+895
-193
lines changed

ai/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ <h6 class="footer-title">Connect</h6>
555555
async function updateVisitorCount() {
556556
try {
557557
const count = await VisitorTracking.getVisitorCount('demo');
558-
if (count) {
558+
if (count !== null) {
559559
// Only update if count has changed or is first load
560560
if (currentCount !== count) {
561561
countElement.textContent = count;

0 commit comments

Comments
 (0)