Google fonts not working in PWA


I’m running Ionic CLI v4.2.1.

I’ve added the following to my file:

@import url(",700");

.titleText {
    font-size: 2.0em;
    font-family: 'Comfortaa', sans-serif;

and the accompanying code is:

<p class="titleText">My Title</p>

When I debug the PWA locally with ionic serve myProject, the text in question shows up with the correct font, but when I deploy the PWA, the Google font is gone.

Deployment commands:

ng add @angular/pwa
ionic build --prod
(then upload the newly created 'www' directory)

Any help is appreciated.