No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Electron errors on dev, will they be there when I compile a production version?

    Help
    1
    1
    125
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jaysaurus last edited by jaysaurus

      the dev server uses http://Localhost:8080 and serves compiled js using async webpack modules. Nothing wrong with that, however, it leads to the following message:

      Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
        protocols. This exposes users of this app to unnecessary security risks.
        Consider loading the following resources over HTTPS or FTPS. 
       - http://localhost:8080/app.js
      - http://localhost:8080/1.js
      - http://localhost:8080/0.js
      

      So the million dollar question: is this problem solved when Quasar compiles its production version? Does quasar ensure a security profile that wont expose localhost after the fact? I note that I also had to disable roboto and material-icons. Really, I don’t want a DTA requesting web services unless it has to (and this application reaally doesn’t have to)

      I tried altering the https flag in the quasar.conf.js but the error persists (I’ve seen these dynamic webpack modules before so I imagine they’ll be the culprit)

      Honestly, I’m a little worried that Electron was an afterthought; which would be a shame because I’m quite fond of Quasar

      1 Reply Last reply Reply Quote 0
      • First post
        Last post