Stuck on 403 (Forbidden) error

12 views
Skip to first unread message

Akhil

unread,
Aug 1, 2016, 3:55:25 PM8/1/16
to Angular2
I'm deploying my Angular2 app as Google Web Application using jetty-6.1.x and the what the app does is as soon as index.html is hit, it will call Endpoint Rest URL to get data and display/render it. The same works for me when I run the application using npm lite server. Since I've to finally deploy my App on Google App Engine when both backend and frontend will be ready. I'm trying to deploy angular2 app locally as google web application and war structure has just the required files as I used gulp for cleaning and including only the required dependencies helping in app size compression. Now this error attached as image shows that access to @angular/* files is forbidden but the files required are present in war/lib/@angular/* structure and there are no restrictions on these files. So I'm basically not able to figure out the reason behind this error. Could somebody help me out here or give any sort of leads on this?
Error.jpg

Michiel Kikkert

unread,
Aug 1, 2016, 4:57:41 PM8/1/16
to Angular2
So what happens when you request that file directly?

Akhil

unread,
Aug 2, 2016, 2:58:39 AM8/2/16
to Angular2
Hi Michiel,

I'm able to access files directly.
Reply all
Reply to author
Forward
0 new messages