Skip to content

Commit

Permalink
Merge pull request #1 from sergaks/master
Browse files Browse the repository at this point in the history
Added support for google fonts 'com/css' extension
  • Loading branch information
miltoncandelero authored Dec 17, 2020
2 parents 20bcf3d + ecab06c commit 48a9758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixi-webfont-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class WebfontLoaderPlugin implements ILoaderPlugin
}
static use(resource: LoaderResource, next: (...params: any[]) => any): void
{
if (resource.extension !== 'css')
if (!resource.extension.endsWith('css'))
{
next();

Expand Down

0 comments on commit 48a9758

Please sign in to comment.