oussamatn / radio-player

Azuracast PWA Radio Player
https://dev.player.jelliti.me
GNU General Public License v3.0
49 stars 12 forks source link

Refresh station page #9

Closed rogeroffer closed 2 years ago

rogeroffer commented 2 years ago

Refresh station page 404 error not found

oussamatn commented 2 years ago

Can you describe your environment ? Are you running on docker-compose ?

rogeroffer commented 2 years ago

Not using docker. Go to https://ddope.sslstreaming.com and open a station try to refresh it, it will give you 404 error not found. Same on pwa app on pull down reload.

oussamatn commented 2 years ago

You need to add a .htaccess file and redirect all requests to index.html Here's an example :

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.html$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.html [L]
</IfModule>
oussamatn commented 2 years ago

@rogeroffer I see that you fixed the problem.