amcharts / editor4

amCharts Chart Editor based on amCharts 4
Other
27 stars 36 forks source link

Issue building amchart 4 editor #73

Open LennonOliveira29 opened 2 years ago

LennonOliveira29 commented 2 years ago

Hi! I'm having trouble building amchart 4 editor. When I run on a file server and try to create a new graph, it throws me into my app again. I strictly followed all your recommendations that are in the documentation, I even tested it with your example, and even so, it keeps giving errors. I'm using react to use the amchart editor.

It looks like it happening when I try to create a chart, it tries to look for the index.html file inside the public / am4editor folder and ends up getting lost and throws me into my application again

As we can see in the image below, when running with the file server and trying to add a graphic, it redirects me to the application again

Captura de Tela 2021-10-08 às 14 14 23

ailon commented 2 years ago

Looks like your server is configured to route everything to your root index.html. You should probably check where this is set in the server config.