Issues on my other web app running with pi-hole

my webapp is not running properly with p-hole., pi-hole seems to be blocking my javascripts.

/var/www/http/admin -----> pihole admin
/var/www/http/pi-hole ----> pihole
/var/www/http/js ---> my javascripts saved here.

Any idea? Is there an option to exclude the localhost in blocking. thanks

There's a line in /etc/lighttpd/lighttpd.conf that blocks JS requests. Comment it out and restart lighttpd.

thanks! this solves my issue. commenting this will affect pi-hole behavior?

# Rewite js requests, must be out of $HTTP block due to bug #2526
#url.rewrite = ( "^(?!/admin/).*\.js$"  => "pihole/index.js"   )