Skip to content

Commit

Permalink
Merge pull request willswire#10 from rotx/main
Browse files Browse the repository at this point in the history
Change 200 OK return string to `good`
  • Loading branch information
willswire authored May 23, 2022
2 parents 5e06898 + a433f0a commit 56141b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function informAPI(url, name, token) {
const result = await cloudflare.updateRecord(record, ip);

// Only returns this response when no exception is thrown.
return new Response(`DNS Record Update Successful!`, {
return new Response(`good`, {
status: 200,
headers: {
"Content-Type": "text/plain;charset=UTF-8",
Expand Down Expand Up @@ -212,4 +212,4 @@ addEventListener("fetch", (event) => {
});
})
);
});
});

0 comments on commit 56141b0

Please sign in to comment.