Skip to content

Commit 706ac13

Browse files
authored
Merge pull request #33 from Unity-Lab-AI/develop
Feat: Update visitor tracking API and add age verification to apps
2 parents acd88ea + d9c8193 commit 706ac13

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)