diff --git a/index.html b/index.html index 4a0cf514..cc376851 100644 --- a/index.html +++ b/index.html @@ -641,7 +641,7 @@ // DISABLE BACKEND FOR FRONTEND DEMO // YOU CAN USE YOUR OWN REQUESTS TO YOUR OWN BACKEND // CHANGE THIS CODE TO YOUR OWN - return onCallback && onCallback({error: 'This function should send requests to your backend. Please, change this code to your own.'}); + return onCallback && onCallback({error: 'This function (' + method + ') should send requests to your backend. Please, change this code to your own.'}); const authData = DemoApp.initData || ''; fetch('/demo/api', {