mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-02 20:52:33 +02:00
Added configuration for accessing remote instance of WordPress (issue #23).
This commit is contained in:
@@ -11,7 +11,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}`;
|
||||
let host = NGINX_HOST;
|
||||
// create a fetch() that remembers the URLs used
|
||||
let sourceURLs = [];
|
||||
let fetch = (url, options) => {
|
||||
|
Reference in New Issue
Block a user