Replace hardcoded hosts with example.com placeholders
This commit is contained in:
@@ -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 || "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user