pcurt / MMM-BlaguesAPI

MIT License
1 stars 0 forks source link

Move getJoke() to node_helper to prevent error 401/cors error #4

Closed bugsounet closed 5 months ago

bugsounet commented 5 months ago

Hi, I have an isssue with MM² v2.28.0, I'm not able to display any joke :/ there is an CORS error or error 401 (sometime)

So I have move getJoke() function to node_helper for working (best way)

If you have the same problem, i share you my code, i don't hesitate to modify it before pushing it

@bugsounet

pcurt commented 5 months ago

Hi, I have tested your branch It is all ok for me so we can merge. Thank you very much for the contribution, and enjoy the jokes ;)