Hosting my website on netlify makes requests from preview builds logged

Open
#346 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, node.js
Domain
backend, security

Research direction

No file or test is identified. First reproduce the behavior with Ackee and the tracked site hosted on Netlify, including a preview build, then inspect how ACKEE_ALLOW_ORIGIN and ACKEE_AUTO_ORIGIN handle request origins. Done means preview-build requests are not logged while requests from https://rckt.cc still are.

Written by the indexing model from the issue text.

Description

bug

🐞 Describe the bug

I have ackee and my website both hosted on netlify.

ACKEE_ALLOW_ORIGIN="https://rckt.cc"
ACKEE_AUTO_ORIGIN="false"

But I see requests logged from the preview builds.

📚 To Reproduce

Probably have the tracked app hosted on netlify and see this happening on deploy?

💡 Expected behavior

I expected that the whitelisted origins prevent loggin requests from other sources.

🖼️ Screenshots

image

⚙️ Environment

  • Installation: Netlify
  • Ackee version: 3.4.1
Dominant language
JavaScript
Stars
4.7k
Forks
386
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from electerious/Ackee

All issues in electerious/Ackee

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.