C
C
coldunox2018-06-09 09:22:05
Angular
coldunox, 2018-06-09 09:22:05

Why does angular only work on HTTPS?

When I try to access my site through insecure http - angular does not work
5b1b71034f200860581649.png

Another thing is when I go to https
5b1b7150bbea2074846266.png

How can this be explained?

PS
The site is on free hosting 000webhost

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor P., 2018-06-09
@coldunox

Most likely, your server is configured to only accept secure connections. This is not related to angular, you can manually type in any link of your api in the browser with and without https and look at the result.
See server settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question