ClientDependency icon indicating copy to clipboard operation
ClientDependency copied to clipboard

DependencyHandler.axd?type=css throws 501 when debug="false"

Open rasmuseeg opened this issue 8 years ago • 2 comments
trafficstars

Create a stylesheet with the following comment:

/**
  * @license
  * MyFonts Webfont Build ID 3317708, 2016-12-07T02:20:35-0500
  * 
  * The fonts listed in this notice are subject to the End User License
  * Agreement(s) entered into by the website owner. All other parties are 
  * explicitly restricted from using the Licensed Webfonts(s).
  * 
  * You may obtain a valid license at the URLs below.
  * 
  * Webfont: PancettaSerifPro-Regular by Mint Type
  * URL: http://www.myfonts.com/fonts/konstantynov/pancetta-serif-pro/regular/
  * Copyright: Copyright (c) 2013 by Andriy Konstantynov. All rights reserved.
  * Licensed pageviews: 500,000
  * 
  * Webfont: PancettaSerifPro-Italic by Mint Type
  * URL: http://www.myfonts.com/fonts/konstantynov/pancetta-serif-pro/italic/
  * Copyright: Copyright (c) 2013 by Andriy Konstantynov. All rights reserved.
  * Licensed pageviews: 500,000
  * 
  * Webfont: Geogrotesque-Bd by Emtype Foundry
  * URL: http://www.myfonts.com/fonts/emtype/geogrotesque/bold/
  * Copyright: Copyright (c) 2015 by Eduardo Manso. All rights reserved.
  * Licensed pageviews: 100,000
  * 
  * Webfont: Geogrotesque-Rg by Emtype Foundry
  * URL: http://www.myfonts.com/fonts/emtype/geogrotesque/regular/
  * Copyright: Copyright (c) 2015 by Eduardo Manso. All rights reserved.
  * Licensed pageviews: 100,000
  * 
  * 
  * License: http://www.myfonts.com/viewlicense?type=web&buildid=3317708
  * 
  * © 2016 MyFonts Inc
  */

Include this stylesheet using @Html.RequireCss("~/path/to/style.css")

rasmuseeg avatar Jan 11 '17 13:01 rasmuseeg

What version are you using?

Shazwazza avatar Jan 11 '17 22:01 Shazwazza

@Shazwazza I where using what comes with the Umbraco.Core 7.5.6, but then i updated to the latest version 1.9.2.

rasmuseeg avatar Jan 13 '17 09:01 rasmuseeg