Skip to content

Serve external resources like icons and fonts locally #813

Open
@MiguelRipoll23

Description

@MiguelRipoll23

Some resources like icons and fonts are loading externally which means offline servers or protected networks can't load the web UI properly, would it be possible to bundle these resources and serve them locally?

Thanks!

Activity

MikeShi42

MikeShi42 commented on May 14, 2025

@MikeShi42
Contributor

It wouldn't be hard I believe - we just need to move the assets into the /public folder under the app and then change our resources to point there instead. Open to any contributions as this should be relatively straightforward of a fix :)

MiguelRipoll23

MiguelRipoll23 commented on May 14, 2025

@MiguelRipoll23
Author

That’s great! I will submit a PR then.

I’ll copy the resources to the public directory and update the references:

https://github.com/hyperdxio/hyperdx/blob/main/packages/app/.storybook/preview-head.html

MiguelRipoll23

MiguelRipoll23 commented on Jun 5, 2025

@MiguelRipoll23
Author

@MikeShi42 I opened a pull request, I’m open to suggestions or changes if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @MikeShi42@MiguelRipoll23

      Issue actions

        Serve external resources like icons and fonts locally · Issue #813 · hyperdxio/hyperdx