be567021d9
This change updates the satellite frontend to retrieve its configuration from the satellite. References #5494 Change-Id: I1eb961f8a32f7d88173006117d41eddb57624692
14 lines
396 B
TypeScript
14 lines
396 B
TypeScript
// Copyright (C) 2023 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
import { FrontendConfig, FrontendConfigApi } from '@/types/config';
|
|
|
|
/**
|
|
* FrontendConfigHttpApi is a mock implementation of the frontend config API.
|
|
*/
|
|
export class FrontendConfigApiMock implements FrontendConfigApi {
|
|
public async get(): Promise<FrontendConfig> {
|
|
return new FrontendConfig();
|
|
}
|
|
}
|