Skip to content

Commit 237d565

Browse files
committed
localhost
1 parent 788c415 commit 237d565

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Pi_Hole_Ad_Blocker/mini_pitft_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import adafruit_rgb_display.st7789 as st7789
2121

2222
API_TOKEN = "YOUR_API_TOKEN_HERE"
23-
api_url = "http://pi-hole.local/admin/api.php?summaryRaw&auth="+API_TOKEN
23+
api_url = "http://localhost/admin/api.php?summaryRaw&auth="+API_TOKEN
2424

2525
# Configuration for CS and DC pins (these are FeatherWing defaults on M0/M4):
2626
cs_pin = digitalio.DigitalInOut(board.CE0)

Pi_Hole_Ad_Blocker/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
from PIL import Image, ImageDraw, ImageFont
4747

4848
API_TOKEN = "YOUR_API_TOKEN_HERE"
49-
api_url = "http://pi-hole.local/admin/api.php?summaryRaw&auth="+API_TOKEN
49+
api_url = "http://localhost/admin/api.php?summaryRaw&auth="+API_TOKEN
5050

5151
# Create the I2C interface.
5252
i2c = busio.I2C(SCL, SDA)

0 commit comments

Comments
 (0)