Skip to content

Commit 8100c85

Browse files
author
Terence Eden
committed
Switch validator
1 parent cd2e6ff commit 8100c85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ changedFilesArray.forEach((filename, i) => {
3838
// Send as HTML to ensure validator checks properly.
3939
// Replace newlines with spaces.
4040
// https://github.com/validator/validator/wiki/Service-%C2%BB-Input-%C2%BB-POST-body
41-
await fetch("https://validator.w3.org/nu/?out=gnu", {
41+
await fetch("https://validator.nu/?out=gnu", {
4242
method: "POST",
4343
body: '<!doctype html><html lang=en><title>A</title>' + fs.readFileSync(filepath, "utf8").replaceAll("\n", " "),
4444
headers: {"Content-Type": "text/html; charset=utf-8"}

0 commit comments

Comments
 (0)