-
Notifications
You must be signed in to change notification settings - Fork 159
/
Copy pathconfig.js
53 lines (53 loc) · 1.34 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module.exports = {
catalogUrl: null,
catalogTitle: "STAC Browser",
allowExternalAccess: true, // Must be true if catalogUrl is not given
allowedDomains: [],
detectLocaleFromBrowser: true,
storeLocale: true,
locale: "en",
fallbackLocale: "en",
supportedLocales: [
"de",
"ar",
// "de-CH",
"es",
"en",
// "en-GB",
// "en-US",
"fr",
// "fr-CA",
// "fr-CH",
"it",
// "it-CH",
"ro",
"ja",
"pt",
// "pt-BR"
],
apiCatalogPriority: null,
useTileLayerAsFallback: false,
displayGeoTiffByDefault: false,
buildTileUrlTemplate: null,
stacProxyUrl: null,
pathPrefix: "/",
historyMode: "history",
cardViewMode: "cards",
cardViewSort: "asc",
showKeywordsInItemCards: false,
showKeywordsInCatalogCards: false,
showThumbnailsAsAssets: false,
redirectLegacyUrls: false,
itemsPerPage: 12,
maxItemsPerPage: 1000,
defaultThumbnailSize: null,
crossOriginMedia: null,
requestHeaders: {},
requestQueryParameters: {},
socialSharing: ['email', 'bsky', 'mastodon', 'x'],
preprocessSTAC: null,
authConfig: null,
// defaultSearchExtent e.g. [12.227593034455793, 41.78656913683952, 12.652310726657447, 42.02970865107619]
defaultSearchExtent: null,
crs: {}
};