add a script for update

This commit is contained in:
kbe
2025-08-19 23:48:30 +02:00
parent 98f639b913
commit ef7951c1e4
38 changed files with 229 additions and 29 deletions

View File

@@ -2,7 +2,7 @@ const fs = require('fs');
const path = require('path');
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
const WORDPRESS_API = 'https://www.mistergeek.net/wp-json/wp/v2';
const WORDPRESS_API = 'https://wp.mistergeek.net/wp-json/wp/v2';
const OUTPUT_DIR = path.join(__dirname, '..', 'data', 'wordpress');
const HUGO_DATA_DIR = path.join(__dirname, '..', 'data');