Replace hardcoded hosts with example.com placeholders

This commit is contained in:
2026-10-14 23:21:16 +02:00
parent e3b89fc74c
commit f08bcc48eb
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ module.exports = function (RED) {
RED.nodes.createNode(this, config);
const node = this;
node.baseUrl = (config.baseUrl || "https://shop.hanssonit.se/wp-json/wc/v3").replace(/\/+$/, "");
node.baseUrl = (config.baseUrl || "https://example.com/wp-json/wc/v3").replace(/\/+$/, "");
node.consumerKey = config.consumerKey || "";
node.consumerSecret = config.consumerSecret || "";