Hi
I'm tryng to use the plugin but i receive this error. I think it's an injection error, but i didn't see the injection variables name in documentation.
I put the code inside the deviceready event.
Can someone help Me?
thanks Paolo
`$ionicPlatform.ready(function() {
webserver.onRequest(
function(request) {
console.log("O MA GAWD! This is the request: ", request);
webserver.sendResponse(
request.requestId,
{
status: 200,
body: '<html>Hello World</html>',
headers: {
'Content-Type': 'text/html'
}
}
);
}
Hi I'm tryng to use the plugin but i receive this error. I think it's an injection error, but i didn't see the injection variables name in documentation. I put the code inside the deviceready event. Can someone help Me? thanks Paolo
`$ionicPlatform.ready(function() {
);
webserver.start(function(){console.log("it's working");}); });`