Skip to content

Hardcoded disambiguation service in the UI #55

@lfoppiano

Description

@lfoppiano

The JS for the UI contains the hardcoded service for fetching concept:

    fetchConcept(identifier, lang, successFunction) {
        $.ajax({
            type: 'GET',
            url: 'https://cloud.science-miner.com/nerd/service/kb/concept/' + identifier + '?lang=' + lang,
            success: (result) => {
                successFunction(result);
            },
            dataType: 'json'
        });
    }

we should fetch this from the server by calling a new endpoint providing this reading it from the configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions