Skip to content

Conversation

@hernan604
Copy link

Hi Book, im br dev, i use your lib to debug some js and css on production websites.. so i activate the proxy and configure as below.. and just open the page and tada! it makes easier to debug css/js in prod servers without touching the real files.
If you are interested on this solution accept the pull request, and you can add your changes.

Example of configuration:

use HTTP::Proxy;
my $proxy = HTTP::Proxy->new( port => 13128 );
$proxy->stash( redirects => {
  'http://www.google.com/' => 'http://www.yahoo.com/',
} );
$proxy->start;
1;

Hope we can talk soon, see you, tks

I added support for simple redirect of urls, because i need to
debug some javascript which is on production websites and i cant
debug them online.. so i use this proxy to show my local js contents
and this allows to modify the js, reload the webpage just like when
i visit the web site .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant