Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed duckpan, now works with d1000.js

  • Loading branch information...
commit e3620233e6d2763b3c61666a5e12421453a44bfe 1 parent 6dd2ece
@moollaza moollaza authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/App/DuckPAN/Cmd/Server.pm
View
2  lib/App/DuckPAN/Cmd/Server.pm
@@ -140,7 +140,7 @@ sub change_html {
for (@script) {
if (my $src = $_->attr('src')) {
- if ($src =~ m/^\/d\d{3}\.js/) {
+ if ($src =~ m/^\/d\d{4}\.js/) {
$_->attr('src','/?duckduckhack_js=1');
} elsif (substr($src,0,1) eq '/') {
$_->attr('src','http://'.$hostname.''.$_->attr('src'));
Please sign in to comment.
Something went wrong with that request. Please try again.