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

    How can I get API image address correctly ?

    Framework
    1
    1
    83
    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.
    • Y
      ytsejam last edited by

      Hello,
      I have a Django API and I try to fetch my data from my api, I can get the text data without problem but image url seems to try from local address and it is wrong in the console:

      "GET http://localhost:8080/media/cache/98/1b/981b6c4b22c284840ee52235228370bb.jpg 404 (Not Found)"
      

      I tried to modify in quasar.conf.js

      devServer: {
            https: false,
            port: 8080,
            //public: 'https://yogavidya.com.tr/',   
            open: true // opens browser window automatically
          },
      

      How can I get my media files url correctly?

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