Skip to content

Conversation

export-mike
Copy link
Member

Hi!

I've added a switch in the head.html to ensure we only set the live api key when published to github.io, to prevent any events caused in development are not stored in the segment.io dashboard. (homepage project). We now have a new project (homepage-local-development) and a different write key.

The jekyll.environment is set to true by github pages as seen here: http://mikeljames.github.io/
see changes: export-mike/mikeljames.github.io@d73f6b1

I used a personal github pages to test this out.

export-mike added a commit that referenced this pull request Jan 8, 2016
set a different api key for local development.
@export-mike export-mike merged commit 6c50cc4 into master Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant