mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 13:38:07 +00:00
dbug
This commit is contained in:
@@ -19,6 +19,9 @@ const isProduction = process.env.NODE_ENV === 'production';
|
|||||||
const onError = (err) => {
|
const onError = (err) => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
}
|
}
|
||||||
|
console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&')
|
||||||
|
console.log(process.env)
|
||||||
|
console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&')
|
||||||
|
|
||||||
process.on('SIGINT', () => {
|
process.on('SIGINT', () => {
|
||||||
console.log('Caught SIGINT, exiting');
|
console.log('Caught SIGINT, exiting');
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ const nue = [];
|
|||||||
const rawdata = fs.readFileSync('public/algolia.json');
|
const rawdata = fs.readFileSync('public/algolia.json');
|
||||||
const nodes = JSON.parse(rawdata);
|
const nodes = JSON.parse(rawdata);
|
||||||
|
|
||||||
|
console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&')
|
||||||
|
console.log(process.env)
|
||||||
|
console.log('&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&')
|
||||||
nodes.forEach(node => {
|
nodes.forEach(node => {
|
||||||
const dom = new JSDOM(node.content);
|
const dom = new JSDOM(node.content);
|
||||||
const content = dom.window.document.body; //post content wrapped in a body tag
|
const content = dom.window.document.body; //post content wrapped in a body tag
|
||||||
|
|||||||
Reference in New Issue
Block a user