Skip to content

Unable to embed in a CMS due to file match #122

@philipnorton42

Description

@philipnorton42

I was embedding Flems in a CMS so that it could be used to print out examples. As part of the embedding process the flems.html file is added top the header and given a suffix in order to assist with cache invalidation, for example flems.html?p3jkd8.

This appears to cause a problem with the setup process of flems system on those pages. Everything is included fine, but the script is unable to find the root flems.html reference in the header due to this suffix.

I have a fix for this that seems to work well with the CMS integration and the normal usage of Flems.

PR incoming :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions