mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-08 15:10:40 +02:00
Merge branch 'master' into live-demo
This commit is contained in:
@@ -39,7 +39,7 @@ async function prefetch(path) {
|
|||||||
console.log(`Regenerating page: ${path}`);
|
console.log(`Regenerating page: ${path}`);
|
||||||
let url = NGINX_HOST + path;
|
let url = NGINX_HOST + path;
|
||||||
let options = addHostHeader({});
|
let options = addHostHeader({});
|
||||||
return CrossFetch(url);
|
return CrossFetch(url, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
function addHostHeader(options) {
|
function addHostHeader(options) {
|
||||||
|
Reference in New Issue
Block a user