CommonGarden / Grow-IoT

Software packages for smart growing environments.
http://commongarden.org/
Other
25 stars 6 forks source link

weather-icons fail to load #294

Closed JakeHartnell closed 7 years ago

JakeHartnell commented 7 years ago

Problem

selection_024

Firefox console:

downloadable font: rejected by sanitizer (font-family: "weathericons" style:normal weight:normal stretch:normal src index:1) source: http://localhost:3000/font/weathericons-regular-webfont.woff  
downloadable font: rejected by sanitizer (font-family: "weathericons" style:normal weight:normal stretch:normal src index:2) source: http://localhost:3000/font/weathericons-regular-webfont.ttf

Chrome console:

Failed to decode downloaded font: http://localhost:3000/font/weathericons-regular-webfont.woff
OTS parsing error: invalid version tag
Failed to decode downloaded font: http://localhost:3000/font/weathericons-regular-webfont.ttf
OTS parsing error: invalid version tag

Steps to reproduce

  1. Click the "+" button to make a new thing
  2. Select the "Create test thing" option
  3. Enter weather-widget as the component to render.
aruntk commented 7 years ago

Related to https://github.com/meteorwebcomponents/synthesis/issues/18

Workaround is to move assets to public folder.

aruntk commented 7 years ago

icons not working correctly.

Current version

screen shot 2017-01-07 at 2 52 06 pm

Desired o/p

screen shot 2017-01-07 at 2 50 54 pm