mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-29 10:32:28 +00:00
fuck eslint
This commit is contained in:
parent
407cee1d70
commit
c0598c5827
@ -8,7 +8,7 @@ const PIHOLE_LOGIN_URL = 'http://'+process.env.PIHOLE_IP+'/admin/index.php'
|
|||||||
const PIHOLE_CUSTOMDNS_URL = 'http://'+process.env.PIHOLE_IP+'/admin/scripts/pi-hole/php/customdns.php';
|
const PIHOLE_CUSTOMDNS_URL = 'http://'+process.env.PIHOLE_IP+'/admin/scripts/pi-hole/php/customdns.php';
|
||||||
|
|
||||||
// Function to update Pi-hole with domain and IP
|
// Function to update Pi-hole with domain and IP
|
||||||
async function updatePihole(domain, ip,action) {
|
async function updatePihole(domain, ip, action) {
|
||||||
// Check if the Pi-hole plugin is enabled
|
// Check if the Pi-hole plugin is enabled
|
||||||
if (!PIHOLE_PLUGIN_ENABLED) {
|
if (!PIHOLE_PLUGIN_ENABLED) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user