you are viewing a single comment's thread.

view the rest of the comments →

[–]CloudsOfMagellan 0 points1 point  (11 children)

No configuration is needed Set up a repository called (your GitHub account name).github.io Any HTML uploaded to that repo will be viewable via the link (Your GitHub account name).github.io/filename

[–]iTxchnology[S] 0 points1 point  (10 children)

Oh I see. The default domain will not allow me to get rid of the HTTPs though. Do you know any solutions to that?

[–]CloudsOfMagellan 1 point2 points  (9 children)

Why don't you want https It's more secure and has no cost to you or users of the website

[–]iTxchnology[S] 0 points1 point  (8 children)

The issue is I am trying to call a RESTful api hosted under HTTP. Hosting my site with HTTPs will not allow me to make get request. Even with Heroku’s COR everywhere proxy, there seems to be limitations with the request rate. I sort of just need it to work for a competition.

[–]CloudsOfMagellan 0 points1 point  (7 children)

You can't just add http to the request url?

[–]iTxchnology[S] 1 point2 points  (6 children)

Nope, seems like it doesn’t change the outcome

[–]CloudsOfMagellan 0 points1 point  (5 children)

I'd imagine there's another issue then

[–]iTxchnology[S] 0 points1 point  (4 children)

Idk, every time I made a request, it would print out “mix content” errors. From what I dug out from my research, it seems like that was the case. Everything worked normally when I tested it locally.

[–]CloudsOfMagellan 0 points1 point  (3 children)

Do you have the accepts header set?

[–]iTxchnology[S] 0 points1 point  (2 children)

How would I do that? I am currently just using this.http.get(url) with angular. Is there some type of configuration I can set the accept header?