forked from MapComplete/MapComplete
Refactoring: move 'featureSummary' to specialLayer handling, disable summary server for now
This commit is contained in:
parent
2a53f99dd5
commit
29dce0d468
6 changed files with 126 additions and 119 deletions
|
@ -27,6 +27,9 @@ async function timeout(timeMS: number): Promise<{ layers: string[] }> {
|
|||
}
|
||||
|
||||
async function getAvailableLayers(): Promise<Set<string>> {
|
||||
if(!Constants.SummaryServer){
|
||||
return new Set<string>()
|
||||
}
|
||||
try {
|
||||
const host = new URL(Constants.SummaryServer).host
|
||||
const status: { layers: string[] } = await Promise.any([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue