Polymer client URL path doesn't change in Studio

Hello,

With reference to the following links:

Polymer: support custom deployment URL
Change Polymer module default URL

I changed basePath from /app-front/ to /web/ in polymer.json, but still the Polymer client link in Studio shows localhost:8080/app-front.

polymer.json:

{
  "entrypoint": "index.html",
   ...
  "builds": [
    {
      "preset": "es6-unbundled",
      "basePath": "/web/",
      "addServiceWorker": false
    }
  ]
}

I have already restarted Studio and also did “Build > Clean”. Am I missing something? Thanks.

Hi,

Thanks for reporting the problem, it will be fixed in further Studio release. At the moment you can specify basePath property on top level of polymer.json:

{
...
  "basePath": "/web/"
...
}

Thank you Vlad, it works.