Morningstar / kafka-offset-monitor

A small web app to monitor the progress of kafka consumers and their lag wrt the log.
Apache License 2.0
282 stars 108 forks source link

angular.js missing #25

Closed clennpillo closed 6 years ago

clennpillo commented 6 years ago

at around Mar. 26th 2018, angularJS referenced by index.html is not available 'cause ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.js is no longer at where it previously was, need to fix the issue

clennpillo commented 6 years ago

workaround: for version 0.4.6

  1. download corresponding angular js files from https://code.angularjs.org, in my case version 1.2.9
  2. put three files in src/main/resources/offsetapp/scripts folder and replace code in src/main/resources/offsetapp/index.html before
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular-route.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.9/angular-resource.js"></script>

    after

    <script src="./scripts/angular.js"></script>
    <script src="./scripts/angular-route.js"></script>
    <script src="./scripts/angular-resource.js"></script>
  3. sbt clean assembly to generate a new jar file
rcasey212 commented 6 years ago

Nothing has changed. Angular is still available at the same URL. Maybe you have a firewall?