#277·freeboard

ajax request doesn't work json file on freeboard

Author: lau175Created Mar 27, 2021Updated Apr 8, 2021

I'm trying to upload the dashboard by adding this in index-dev.html, but it doesn't work. it returns a black page

$.ajax("/examples/weather.json", { 'async': true, 'method': 'get', 'success': function(data, status, xhr) { freeboard.loadDashboard(data); }; })