Exporting site with subdomain URI

Created on 6 October 2023, over 1 year ago
Updated 9 October 2023, over 1 year ago

I have tried looking through the documentation, but I'm coming up empty on this. I am trying to use drush tome:static to export a site to deploy to CloudFlare Pages. The internal domains provided by Cloudflare look like https://foo-bar.pages.dev/. So I am running drush tome:static --uri=https://foo-bar.pages.dev

When I look at the output HTML (for example, index.html), I can see that
has the proper URL, but all of the links in the navigation are prepended with /foo-bar/ (for example, /foo-bar/about, /foo-bar/contact, etc) when they should just be /about and /contact)

It seems like tome is taking the foo-bar portion of the URI and treating it like a separate directory, which it is not. This is resulting in HTML output with many broken links and images.

Hope this makes sense!

πŸ’¬ Support request
Status

Active

Version

1.11

Component

Tome Static

Created by

πŸ‡ΊπŸ‡ΈUnited States srdtwc Skokie, IL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024