Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17944

BrowserSim: Use http: protocol instead of file: for accessing local files

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.30.x
    • 4.2.2.Final
    • browsersim, cordovasim
    • None

      Currently, BrowserSim works through file: protocol but this protocol doesn't work well with paths relative to the webroot (which start with "/").
      So if a local file contains any links to local resources (css, js, ...) via relative paths then these resources are not available in BrowserSim.

      For example all official ionic example projects use such paths. It makes "open with BrowserSim" feature useless for those projects.

      It would be great if BrowserSim uses http: as our HTML5 preview does.

            ibuziuk@redhat.com Ilya Buziuk
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: