504 Gateway timeout

I had a code working before and now I have only “504 Gateway Time-out”.

I’ve tried build & run, but without results.

I have tried putting the following code:

function requestHandler(request, response) {
// send a response back to whoever made the request
response.send(200, “ALL RIGHT THERE”);
}

// Registers the request handler
http.onrequest(requestHandler);

And I still get the gateway timeout. Can someone help me?

Well, its back. Dont know if someone did something. Thanks.

That code looks right; is it the only code you have running?