.htaccess for angular

 <IfModule mod_rewrite.c>

    RewriteEngine on

    RewriteCond %{REQUEST_FILENAME} -s [OR]

    RewriteCond %{REQUEST_FILENAME} -l [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule ^.*$ - [NC,L]

    RewriteRule ^(.*) index.html [NC,L]

</IfModule>


<IfModule mod_headers.c>

    SetEnvIf Origin "^http(s)?://(.+\.)?(v-timviec\.vn|v-timviec\.com)$" origin_is=$0

    Header always set Access-Control-Allow-Origin %{origin_is}e env=origin_is

</IfModule>

Không có nhận xét nào:

Is it okay to use both fetchpriority="high" and loading="eager" in img tag?

 https://stackoverflow.com/questions/77744344/is-it-okay-to-use-both-fetchpriority-high-and-loading-eager-in-img-tag Yes Fetchpriority and l...