Image Files 404 error on app-front

Hello.
I’m experiencing a problem in my project, where I can not display the images when running directly through tomcat, but when running a polymer server the images normally load. Has anyone ever had this problem? the images are stored in a “images” folder inside the polymer-module root.

Thanks, Rafael Ratacheski

Hi
It could be due to base path configuration,
Please give an example of your code

Hi,

My index.html have the and the polymer.json basepath propertie is “basePath”: “/sideufg-front/”

In this configuration, the images are not displayed, but if I copy the images folder to the root webapp folder, they appear.

    The `<base>` tag below is being changed in a build time.
    See the `basePath` property in `polymer.json`.
  --> 
  <base href="/"> 
  <link rel="icon" href="images/favicon.ico"> 
  <link rel="icon" href="images/app-icon/icon-32x32.png" sizes="32x32"> 
  <link rel="icon" href="images/app-icon/icon-64x64.png" sizes="64x64"> 
  <link rel="manifest" href="manifest.json"> 
  <meta name="theme-color" content="#2196F3">