Bagisto Forum

    Bagisto

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

    npm run build always go to localhost

    General Discussion
    2
    4
    240
    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.
    • B
      bindev last edited by

      I created a project with Bagisto and want to deploy it to shared hosting, but when I run ‘npm run build’ and upload it to shared hosting, it always reads localhost:5173 or 5174. Can anyone help me?

      1 Reply Last reply Reply Quote 0
      • R
        rishabh-webkul19 last edited by

        Hello @bindev

        https://github.com/bagisto/bagisto/blob/e8a50a7a426d19b5b63b370c5b11a5d5b59c19f3/packages/Webkul/Admin/vite.config.js#L19

        Also just check this screenshot below, too. I hope it will help you out..After this then please let us know is everything working fine or not.

        https://prnt.sc/KOoDOPvk6Zk_

        Warm Regards
        Team Bagisto

        B 1 Reply Last reply Reply Quote 0
        • B
          bindev @rishabh-webkul19 last edited by

          @rishabh-webkul19 I have finished it. It was all my fault because there were files named ‘shop-blablabla.hot’ and ‘admin-blablabla.hot’ on the shared host. Thank you.

          1 Reply Last reply Reply Quote 0
          • R
            rishabh-webkul19 last edited by

            You're Welcome @bindev

            If you like our support can you provide us with 5 star review on trustpilot. This will help us a lot.

            Link: https://www.trustpilot.com/review/bagisto.com

            Regards

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