Fix when loaded from /compliance/ (#9868)

Page works on /compliance but images don't load on /compliance/

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
This commit is contained in:
Andrew Baker 2023-02-15 18:54:47 -05:00 committed by GitHub
parent 18d9784b65
commit 7fb3526919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,13 +29,13 @@
</div>
</div>
<div purpose="feature-image" class="mx-md-5">
<img alt="Compliance feature image" src="images/compliance-feature-image-1.svg">
<img alt="Compliance feature image" src="/images/compliance-feature-image-1.svg">
</div>
</div>
<div purpose="feature" class="d-flex flex-md-row flex-column justify-content-between mx-auto align-items-center">
<div purpose="feature-image" class="mx-md-5">
<img alt="Compliance feature image" src="images/compliance-feature-image-2.svg">
<img alt="Compliance feature image" src="/images/compliance-feature-image-2.svg">
</div>
<div class="d-flex flex-column">
<h3>Verify SOC2, NIST compliance</h3>
@ -59,7 +59,7 @@
</div>
</div>
<div purpose="feature-image" class="mx-md-5">
<img alt="Comliance feature image" src="images/compliance-feature-image-3.svg">
<img alt="Comliance feature image" src="/images/compliance-feature-image-3.svg">
</div>
</div>