Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for http://xip.io/ #41
I ran in to a problem where typekit won't serve fonts because it needs some part of the address to be reliable. http://xip.io/ was the answer to that problem, but now if a server opens in the browser at
Hey, I had some thoughts on this, I'm sorry I didn't write them down sooner as I didn't realize you would be so on top of this.
1.) It might make sense to have something more open ended like a string called "append". Instead of a boolean called "xip":
This might help future proof the feature if alternate services arise or potentially replace xip.io. Obviously, I'm not picky about this and you should do what you think is best, I just thought it might save you additional work down the road.
2.) The more time I've spent working on my project, I've noticed that if i'm using
Just wanted to make those notes, but otherwise that solution looks great and would definitely work for me.
Is this suppose to work with local addresses?
I have added *.xip.io to my typekit settings and enabled xip: true in my gulp file.
My local address on the network is 192.168.1.75, when accessing this from my machine it's fine, from any other machine on the network it doesn't load typekit.
Any insights? Has this functionality changed?
Yes, @DanielTate, the exclusive purpose is to work with LAN addresses. Let me know if you've followed all of the steps in this article: http://welchcanavan.com/developing-locally-with-typekit-and-xip/
If you have, I'm not quite sure what could be going wrong, but I'll try to think of something.