Skip to content

Make chartjs and socket.io not to pull from cdn? #146

@bwgjoseph

Description

@bwgjoseph

Hi,

I'm using this in offline environment and it doesn't work because it seem that the scripts are pulling from cdn

<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.2.2/Chart.bundle.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.4.5/socket.io.min.js"></script>

I manually download the files are cdn, place it in my /public to host it instead then point to my host and it does work.. Any idea if the js files can be placed within the /javavscripts directory? So that it can reference local js file rather than cdn?

I am also facing issue where it complains about event-loop-stats not found, ignoring event loop metrics... I'm using node v12

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