angular-course icon indicating copy to clipboard operation
angular-course copied to clipboard

api request in service-1

Open jithu121212 opened this issue 6 years ago • 1 comments

Hi,The server run on port 9000,then how did api request to port 4200 works?In my case it returns 404 error

GET http://localhost:4200/api/courses?page=1&pageSize=10 404 (Not Found) http://localhost:9000/api/courses

jithu121212 avatar May 01 '19 13:05 jithu121212

"scripts": [ { "input": "node_modules/document-register-element/build/document-register-element.js" } I removed this from angular.json file intentionally.Otherwise there should be error and stop building from 91 and show this error. //error 91% additional asset processing scripts-webpack-plugin✖ 「wdm」: Error: ENOENT: no such file or directory, open '/opt/lampp/htdocs/js/angular-play/angular-course-3-services/node_modules/document-register-element/build/document-register-element.js'

jithu121212 avatar May 01 '19 14:05 jithu121212