.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:

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...