mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Merge pull request #1061 from pi-hole/fix/blockpage-whitelist-path
Adjust blocking page paths from admin restructure
This commit is contained in:
commit
1f9b0f7cef
@ -87,8 +87,8 @@ if($uri == "/")
|
||||
</div>
|
||||
</main>
|
||||
<footer>Generated <?php echo date('D g:i A, M d'); ?> by Pi-hole <?php echo $piHoleVersion; ?></footer>
|
||||
<script src="http://pi.hole/admin/js/other/jquery.min.js"></script>
|
||||
<script src="http://pi.hole/admin/js/pihole/queryads.js"></script>
|
||||
<script src="http://pi.hole/admin/scripts/vendor/jquery.min.js"></script>
|
||||
<script src="http://pi.hole/admin/scripts/pi-hole/js/queryads.js"></script>
|
||||
<script>
|
||||
function inIframe () {
|
||||
try {
|
||||
@ -123,7 +123,7 @@ function add() {
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
url: "admin/php/add.php",
|
||||
url: "admin/scripts/pi-hole/php/add.php",
|
||||
method: "post",
|
||||
data: {"domain":domain.val(), "list":"white", "pw":pw.val()},
|
||||
success: function(response) {
|
||||
|
Loading…
Reference in New Issue
Block a user