Is there a solution to automatically redirect to Angular dist
folder if we first try to acess to the root project ? (Instead of display the following) :
I tried with .htaccess but without success, I have a 404 error :
RewriteEngine On RewriteCond %{REQUEST_URI} !^/dist/ RewriteRule ^(.*)$ /dist/$1 [L]
Thanks
https://stackoverflow.com/questions/67436603/angular-redirect-to-dist May 07, 2021 at 10:15PM
没有评论:
发表评论