microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
702 stars 580 forks source link

Extensions don't work when I publish in Azure WebApp #5595

Open humberto-jezus opened 2 months ago

humberto-jezus commented 2 months ago

Describe the bug

Hello friends, I am facing difficulties with the extensions in the makecode editor. I downloaded the pxt project from github and all the dependencies to my computer. When running the project on localhost, everything works normally; however, when publishing on a cloud host, the application becomes unable to call the extensions in the makecode editor (see image). First image local host , with the extensions working and second image with the custom url cloudhost not working. Can someone help me? Thanks

First Image - LocalHost image

Second Image - Cloudhost - Custom URL image (1)

https://xbytex.azurewebsites.net/#editor

Image with the call errors

Captura de tela 2024-04-18 083325

my question is : There is a file that I need update to enable my custom url call the extensions apis? I tried to find but , I dont have sucess with this

Thank you

StanislavJochman commented 2 months ago

Did you find the solution? Facing same issue.

humberto-jezus commented 1 month ago

Did you find the solution? Facing same issue.

No @StanislavJochman I opened a ticket support for microbit but anybody can't helped me , they only indicate other similar issues here in github my new approach is trying to fill the extension directly in the editor bar like this image:

image

This way maybe will working and not needed to search for a external api , because I'm almost sure that we have a "cors" rules blocking my custom url

image

If I get success , I will return to help as well Thank you