Using TypeKit locally on a NodeJS server

I cannot get TypeKit to work on the local node web server.

I said localhost, and localhost:1337my list of domains (not sure that the one that has the port is set).

The web server is running on 1337, it has a typekit script with the correct set id, but the typekit.js library always returns from 404.

+3
source share
3 answers

Make sure you click the green Publish button after editing your set dialing domains (after clicking Save Settings). If you do not, "Changes will not live on your site until you publish them."

0
source

- Typekit localhost, localhost ( , ).

, , Typekit, , :

staging.mysite.com

:

*.mysite.com

/etc/hosts, :

$ sudo vim /etc/hosts

( )

:

127.0.0.1 localdev.mysite.com

localdev.mysite.com:8000 403, ( 404, ). , -.

0

404, .

If you get an error message 403, you need to list the white list in your domain (without the specified port, localhost: 8080 becomes localhost).

https://forums.adobe.com/thread/2077663

0
source

All Articles