Witam.
Mam problem z routingiem, a raczej z odświeżaniem strony co może być zależne od routingu. Wrzuciłem .htaccess
do folderu ze stroną, znalazłem gdzieś na gicie:
Github .httaccess for Angular
#Angular rewrites
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# If the requested pattern is file and file doesn't exist, send 404.
# This fixes the issue with Angular being included more than once
# when you get the path of a component template wrong.
RewriteCond %{REQUEST_URI} ^(\/[a-z_\-\s0-9\.]+)+\.[a-zA-Z]{2,4}$
RewriteRule ^ - [L,R=404]
RewriteRule ^(.*) /index.html [NC,L]
Nie mogę odświeżyć strony jak jestem, powiedzmy, na edycji pozycji np. www.mojastrona.pl/element/21 po odświeżeniu strony dostaje 404 Not found
.