Environment variables in `404.html` page aren't getting replaced with
their values. This PR fixes that.
## Automation
/test sanity
### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results -->
> [!WARNING]
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12005727044>
> Commit: 56b10fddf2ee7ed180ed59845b6f0223cd26b06a
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12005727044&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: @tag.Sanity
> Spec:
> It seems like **no tests ran** 😔. We are not able to recognize it,
please check <a
href="https://github.com/appsmithorg/appsmith/actions/runs/12005727044"
target="_blank">workflow here</a>.
> <hr>Mon, 25 Nov 2024 08:48:10 UTC
<!-- end of auto-generated comment: Cypress test results -->
## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved dynamic retrieval of environment variables for better
integration with environment-specific settings in the 404 error page.
- Enhanced handling of HTML files, including the 404 page, during the
configuration process.
- **Bug Fixes**
- Improved error handling for missing SSL certificates and custom
domains.
- **Documentation**
- Updated logic for processing HTML files to ensure correct paths and
configurations are applied.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description
Privacy and Term & conditions pages was not using latest platform font
PT root since it was served as normal HTML files. This PR addresses that
issue.
Fixes#33427
## Automation
/ok-to-test tags="@tag.Sanity"
### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results -->
> [!TIP]
> 🟢🟢🟢 All cypress tests have passed! 🎉🎉🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9382277755>
> Commit: 75416ef2dea7c8b696ed2f880a2af8a575f37be5
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9382277755&attempt=1"
target="_blank">Click here!</a>
<!-- end of auto-generated comment: Cypress test results -->
## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced new font styling across various pages using the PT Root UI
font family for a consistent look and feel.
- **Style**
- Updated `404.html`, `privacy-policy.html`, and
`terms-and-conditions.html` to include a link to the new
`font-style.css` stylesheet.
- Removed redundant `font-family` declarations from
`privacy-policy.html` and `terms-and-conditions.html`.
- **Documentation**
- Added `licence.txt` for the PT Root UI font, detailing the SIL Open
Font License.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->