Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rasmuseeg opened this issue Jan 11, 2017 · 2 comments
Open

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

rasmuseeg opened this issue Jan 11, 2017 · 2 comments

Comments

@rasmuseeg
Copy link

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")

@Shazwazza
Copy link
Owner

What version are you using?

@rasmuseeg
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants