0

I created Angular project and do it live but when i use "https//" then the page is apear but i use "www." the page is blank but the favicon and the web title is appear

when deploy the project I use this:- ng build --configuration production --base-href "https://example.com"

I want to open when some one type www.example.com and also on https://example.com

adil
  • 1
  • 1
  • Where and how did you deploy the application? Please, attach some relevant code. – Jacopo Sciampi Jun 06 '23 at 08:32
  • 1
    The base href should be also `/`. it's used, e.g. if you want an url like `www.example.com/myapp`, and in this case you use as href **only** `/myapp` – Eliseo Jun 06 '23 at 08:58
  • I use in base url "/myapp" but the page is blank only come the web title. this is the link --> http://bempl.in/demo/aumen/ – adil Jun 07 '23 at 04:48

0 Answers0