This commit is contained in:
@@ -683,7 +683,7 @@ export class LegacyApiService
|
||||
throw Error('Cannot download offline repo without url and offlineKEy')
|
||||
}
|
||||
|
||||
const TRUSTED_FEATURE_HOSTS = ['api.standardnotes.com', 'localhost']
|
||||
const TRUSTED_FEATURE_HOSTS = ['api.standardnotes.com', 'localhost', 'apinotes.radmit.pl']
|
||||
|
||||
const { hostname } = new URL(featuresUrl)
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ export class FeaturesService
|
||||
|
||||
private getFeatureStatusUseCase = new GetFeatureStatusUseCase(this.items)
|
||||
|
||||
private readonly PROD_OFFLINE_FEATURES_URL = 'https://api.standardnotes.com/v1/offline/features'
|
||||
private readonly PROD_OFFLINE_FEATURES_URL = 'https://apinotes.radmit.pl/v1/offline/features'
|
||||
|
||||
constructor(
|
||||
private storage: StorageServiceInterface,
|
||||
|
||||
Reference in New Issue
Block a user