You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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");});
});`
The text was updated successfully, but these errors were encountered: