mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
responseType text for static files
This commit is contained in:
committed by
Aiden McClelland
parent
860d425b53
commit
dc3634ad31
@@ -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
|
||||
|
||||
@@ -80,6 +80,8 @@ export interface InstalledPackageDataEntry {
|
||||
export interface CurrentDependencyInfo {
|
||||
pointers: any[]
|
||||
'health-checks': string[] // array of health check IDs
|
||||
title: string
|
||||
icon: URL
|
||||
}
|
||||
|
||||
export enum PackageState {
|
||||
@@ -311,8 +313,6 @@ export enum DependencyErrorType {
|
||||
|
||||
export interface DependencyErrorNotInstalled {
|
||||
type: DependencyErrorType.NotInstalled
|
||||
title: string
|
||||
icon: URL
|
||||
}
|
||||
|
||||
export interface DependencyErrorNotRunning {
|
||||
|
||||
Reference in New Issue
Block a user