Skip to content
This repository was archived by the owner on Aug 7, 2022. It is now read-only.
This repository was archived by the owner on Aug 7, 2022. It is now read-only.

Access-Control-Allow-Origin error inside Meteor App #55

@EthanHaley

Description

@EthanHaley

I'm attempting to use this package to interact with the Trello API inside a Meteor app. However running through setup and attempting to make an api call in my client-side javascript file, I get this error.

Link to error Image

This is my code in my javascript file, following the documentation for the package.

var Trello = require('node-trello');

var t = new Trello(Meteor.settings.public.trelloKey, Meteor.settings.public.trelloToken);
t.get('/1/members/me', function(err, data) {
    if(err) throw err;
    console.log(data);
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions