mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-03 05:02:34 +02:00
Reworked routing so that WP permalinks arrangement is used (issue #13).
This commit is contained in:
@@ -10,6 +10,7 @@ const HTML_TEMPLATE = `${__dirname}/client/index.html`;
|
||||
|
||||
async function generate(path, target) {
|
||||
// retrieve cached JSON through Nginx
|
||||
console.log(`Regenerating page: ${path}`);
|
||||
let host = `http://${NGINX_HOST}`;
|
||||
// create a fetch() that remembers the URLs used
|
||||
let sourceURLs = [];
|
||||
|
Reference in New Issue
Block a user