mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-26 07:00:38 +08:00
In case of a `ResponseParseError` instead of comparing the versions of httpd and the web client strictly, we should make sure to check if httpd fulfills the web clients version requirement (to be the same major version) and else fallback to a more verbose error about the different versions.
20 lines
410 B
TypeScript
20 lines
410 B
TypeScript
declare module "virtual:*" {
|
|
const config: {
|
|
nodes: {
|
|
requiredApiVersion: string;
|
|
fallbackPublicExplorer: string;
|
|
defaultHttpdPort: number;
|
|
defaultLocalHttpdPort: number;
|
|
defaultHttpdScheme: string;
|
|
};
|
|
source: {
|
|
commitsPerPage: number;
|
|
};
|
|
reactions: string[];
|
|
supportWebsite: string;
|
|
preferredSeeds: BaseUrl[];
|
|
};
|
|
|
|
export default config;
|
|
}
|