Skip to content

Remove external CDN assets #30

@bensheldon

Description

@bensheldon

I really like the polish on this gem and dashboard.

I noticed that there is an external asset referenced in the layout:

<script defer src="https://cdn.jsdelivr.net/npm/attractivejs@0.12.0"></script>

It would be great, for security/privacy, for all assets to be served by the gem directly.

My GoodJob has a way more complex dashboard (a burden not a brag) but maybe it’s helpful context for how you might serve this gem’s assets:

https://github.com/bensheldon/good_job/blob/main/app/controllers/good_job/frontends_controller.rb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions