kevinjqliu opened a new pull request, #175:
URL: https://github.com/apache/datafusion-site/pull/175

   ## What
   
   Add an origin guard in `giscus-consent.js` to skip loading giscus when 
`location.origin` is not `https://datafusion.apache.org`, showing an 
informational notice instead.
   
   <img width="641" height="191" alt="Screenshot 2026-05-10 at 9 12 24 AM" 
src="https://github.com/user-attachments/assets/d569bfd5-42ec-41d8-b507-e98aca4bb9dd";
 />
   
   ## Why
   
   Without this guard, running the site locally (e.g. `make serve`) causes 
giscus to create spurious GitHub Discussions with `http://0.0.0.0:8000/...` 
backlinks (e.g. https://github.com/apache/datafusion-site/discussions/94).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to