feat: add website root path settings (#1)

* feat: add website root path settings
* fix: disable cloudflare rocket-loader for iframe-resizer
This commit is contained in:
Axel Cocat 2022-03-16 23:39:45 +01:00 committed by GitHub
parent 1b7e975080
commit b8de1cbc8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 86 additions and 60 deletions

View file

@ -1,3 +1,3 @@
window.parent.postMessage({
url: window.location.pathname,
url: window.location.pathname.replace(handlebarsData.websiteRoot, ""),
}, "*");