Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. @font-face {
  2. font-family: "Special Font";
  3. src: url("<%= Request.Url.GetLeftPart(UriPartial.Authority) + "/fonts/specialfont.ttf" %>");
  4. }
  5.  
  6. <?xml version="1.0" encoding="utf-8"?>
  7. <configuration>
  8. <system.webServer>
  9. <httpProtocol>
  10. <customHeaders>
  11. <add name="Access-Control-Allow-Origin" value="*" />
  12. </customHeaders>
  13. </httpProtocol>
  14. </system.webServer>
  15. </configuration>
  16.  
  17. <configuration>
  18. <location path="fonts/specialfont.ttf">
  19. <system.webServer>
  20. <httpProtocol>
  21. <customHeaders>
  22. <add name="Access-Control-Allow-Origin" value="*" />
  23. </customHeaders>
  24. </httpProtocol>
  25. </system.webServer>
  26. </location>
  27. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement