Notifications
Clear all
Jan 23, 2023 10:58 pm
Jika kamu menggunakan apache2 sebagai web servicenya maka kamu perlu menambahkan file .htaccess didalam folder buildnya
cd /path/path-to-directory-react-app/path-to-document-root/build
nano .htaccess
options -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.html [QSA,L]
save (ctrl+x, y, enter)