简体   繁体   中英

Error getting after runing ng build --prod my api is not working unable to hit api

hello after running ng build --prod, i uploaded my code on server than data is not coming from API means unable to hit API its not working however on local machine ng serve working fine i'm getting error on live server after uploading my code. and when i run ng build it's working fine.

hello after running ng build --prod, i uploaded my code on server than data is not coming from api means unable to hit api its not working however on local machine ngserve working fine i'm getting error on live server after uploading my code

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM