1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-09-02 12:42:38 +02:00

Merge branch 'master' into live-demo

This commit is contained in:
Chung Leong
2019-02-01 22:22:51 +01:00

View File

@@ -39,7 +39,7 @@ async function prefetch(path) {
console.log(`Regenerating page: ${path}`);
let url = NGINX_HOST + path;
let options = addHostHeader({});
return CrossFetch(url);
return CrossFetch(url, options);
}
function addHostHeader(options) {