ClientDependency
ClientDependency copied to clipboard
DependencyHandler.axd?type=css throws 501 when debug="false"
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")
What version are you using?
@Shazwazza I where using what comes with the Umbraco.Core 7.5.6, but then i updated to the latest version 1.9.2.