On 4 March 2016 at 12:15, Gm <javaplayer@gmail.com> wrote:
> The requests are displayed in the firebug console for example.
Ah, I thought you meant the server console window. I should probably
have realised, as you said it was angular code.
How to stop stuff displaying in the FF console is not a Rails issue, I
don't think. I doubt if it is possible.
Even if there were a way anyone can inspect the javascript code and
work out what it is doing, if they are really interested.
Colin
>
> 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.
--
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/CAL%3D0gLvbe0oRFx9DZJ0oeKWhhqRA2MMGua%3DCa%3D%2BQuv%2B1XnE_Uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment