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

    Quasar Electron App build ajax request issue

    Help
    1
    1
    115
    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.
    • H
      himanshum last edited by

      Hi, I am working on building a new electron app using Quasar and while I am able to run the app in development mode, I am unable to set it up in build mode.
      I am using Axios

      Used electron-packager to build the app it builds successfully but on running, the Ajax Api redirects to " file:///C:/ "

      On development server the configuration in quasar.config

      devServer: {
            // https: true,
            port: 4300,
            open: true, // opens browser window automatically,
            proxy: {
              '/api': {
                target: 'http://localhost:8080/',
                secure: false,
              },
            }
          },
      

      works fine but on production this doesnt work.

      My app is not code signed and its for windows.

      What config part I am missing.

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