Skip to content

Commit

Permalink
Bump postcss from 8.4.38 to 8.4.39 (#3064)
Browse files Browse the repository at this point in the history
  • Loading branch information
yubiuser authored Jul 7, 2024
2 parents b96c741 + a2abe61 commit bd2ca34
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"devDependencies": {
"autoprefixer": "^10.4.19",
"eslint-plugin-compat": "^5.0.0",
"postcss": "^8.4.38",
"postcss": "^8.4.39",
"postcss-cli": "^11.0.0",
"prettier": "3.3.2",
"xo": "^0.56.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/pi-hole/php/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function check_cors()
if (!in_array($server_origin, $AUTHORIZED_HOSTNAMES)) {
log_and_die('Failed CORS: '.htmlspecialchars($server_origin).' vs '.htmlspecialchars(join(', ', $AUTHORIZED_HOSTNAMES)));
}
header("Access-Control-Allow-Origin: ${_SERVER['HTTP_ORIGIN']}");
header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}");
}
// If there's no HTTP_ORIGIN, CORS should not be used
}
Expand Down

0 comments on commit bd2ca34

Please sign in to comment.