Techiio-author
Started by Swarnalata RoydebApr 12, 2022

Open
I have a baseurl.js file in react project in which the base URL is defined for local and live site development.

4 VIEWES 1 LIKES 0 DISLIKES SHARE
1 LIKES 0 DISLIKES 4 VIEWES SHARE

I got all the APIs from the local site but whenever I change production to "YES" for the live site in baseurl file, it is not working when I upload it on the server I got a bank page result and in console, I got this error (Refused to execute script from

can someone help me please to solve this problem:(

1 Replies

Techiio-commentatorUtsab Das replied 3 days ago0 likes0 dislikes

it's very difficult to understand your question like this..because here you are not talking about any error. But, I think, u didn't change your env file..First u have to make sure that u have changed your base url for production.so, change your env file. Hopefully, it will work out.Good Luck. đź‘Ť

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance