Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1114

CSP changes made ionic serve to stop working

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Ionic
    • Hide

      Start two instances of ionic serve and review the console log to see that no errors are displayed.

      Update/change any file and check that ionic reload the app

      Show
      Start two instances of ionic serve and review the console log to see that no errors are displayed. Update/change any file and check that ionic reload the app
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Following error is returned:
      Refused to load the script 'http://localhost:35729/livereload.js?snipver=1' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' 'unsafe-eval'".

            jleyva Juan Leyva
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.