responseType text for static files

This commit is contained in:
Matt Hill
2021-08-09 17:02:57 -06:00
parent 8b87c077c9
commit edf5e33996
3 changed files with 9 additions and 5 deletions

View File

@@ -14,7 +14,11 @@ export class LiveApiService extends ApiService {
) { super() }
async getStatic (url: string): Promise<string> {
return this.http.httpRequest({ method: Method.GET, url })
return this.http.httpRequest({
method: Method.GET,
url,
responseType: 'text',
})
}
// db