For any Pages implementers that are reverse proxying, we will soon be releasing a new version of Pages (npm package) that should be used to ensure assets resolve correct:
Summary of changes, in addition to the HH RP Guide, the guidance will be to:
I will update this post once rc.3
is ready, which should be ready at some point within 1-2 weeks.
There are several steps required in order to upgrade from a beta
version of Pages to 1.0.0-*
- as such, please be sure to budget some time to test. We will be providing a upgrade script that can be used to help facilitate this.
4 Likes
Thanks Luc, this will be really helpful for us.
Both Pages 1.0.0-rc.4 and Sites Components 1.0.0.-rc.4 were released last night. As such, you can now get started taking advantage of the new reverse proxy guidance.
First and foremost, you will need to upgrade your current site to work with the non-beta version of Pages. There are a few breaking changes from beta
to non-beta
, so we have created this update script to help temporarily. This will soon be a native CLI command, but for now you may use this repo (or perform these steps manually):
- Clone this repository (pages-updater) to your computer.
- From there, you can develop locally as usual, by running
npm run dev
Example Website and Setup
Here is an example website, and the recommended setup:
Please reach out to your account team or to the Yext Product Managers if you run into issues. We will continue to release updates to the Pages 1.0.0-rc
versions to make this easier, so stay tuned for updates.
1 Like
Its working for me thanks for fixing same.
Please refer to our updated guide, moving forward: Reverse Proxy | Hitchhikers