ec-jrc / re3gistry

Re3gistry is a reusable open source solution for managing and sharing ‘reference codes’, ensuring semantic interoperability across organisations.
European Union Public License 1.2
27 stars 21 forks source link

2.6.0 front-end #441

Closed k-eight-v closed 2 days ago

k-eight-v commented 1 week ago

Screenshot 2024-06-26 at 09 12 31

I do not get it, what element?

URL : https://domain.example.com//registry/rest?uri=http%3A%2F%2Fdomain.example.com/%2Fregistry&lang=et&format=jsonc&status=

and getting :

{ "error": { "code": 404, "description": "Element not found", "description-code": "not-found" } }

k-eight-v commented 2 days ago

conf.js is what i needed to change "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;

// The app's base URL registryApp.hostURL = '//domain.example.com/registry'; registryApp.domainURL = 'https://domain.example.com/'; registryApp.searchURL = '//domain.example.com//registry/search'; registryApp.searchApiURL = '//domain.example.com//registry/searchapi'; registryApp.dataServiceURL = '//domain.example.com//registry/rest'; In your repo it wont say that i have to use : registryApp.domainURL = 'https://domain.example.com/';