"use strict";

/// *** App configuration file ***///

var registryApp = {};

// The default language of the app (used as a fallback if the language is not
// passed by URL or cannot be retrieved by Browser language)
registryApp.defaultLanguage = 'en';

// Search maximum results per page
registryApp.maxSearchResultsPerPage = 10;

// Force http URIs (even if the original call has https URIs)
registryApp.forceHttpURIs = true;

// Default Error message parameters (Change if needed to your own repository or link)
registryApp.errorMessageDefinition = "Re3gistry Software repository";
registryApp.errorMessageURL = "https://github.com/ec-jrc/re3gistry";

// The app's base URLs
registryApp.domainURL = '//agroconnect.test.farmmaps.eu';
registryApp.hostURL = '//agroconnect.test.farmmaps.eu/registry';
registryApp.searchURL = '//agroconnect.test.farmmaps.eu/registry/search';
registryApp.searchApiURL = '//agroconnect.test.farmmaps.eu/registry/searchapi';
registryApp.dataServiceURL = '//agroconnect.test.farmmaps.eu/registry/rest';