Ruby on Rails Friday, March 4, 2016

The requests are displayed in the firebug console for example.

On Friday, March 4, 2016 at 9:11:26 AM UTC-3, Colin Law wrote:
On 4 March 2016 at 12:03, Gm <javap...@gmail.com> wrote:
> Hi,
>
> I'm using AngularJS with Rails and I have a problem.
> My angular code makes several call to an API and all requests are displayed
> in the console.
> I think it's a problem because I'm exposing some parameters and informations
> about my API.
>
> Is there a way to hide these requests ?
> How can I solve this problem ?

Once you get into production you will not be starting the server from
a terminal window, so they will not be displayed.

Colin

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3616300c-4cc6-4c24-8784-2c6cf2714982%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment