diff --git a/.htaccess b/.htaccess index 65b9dc8b..838bf499 100755 --- a/.htaccess +++ b/.htaccess @@ -17,6 +17,10 @@ RewriteCond %{HTTP_HOST} ^bot.zoff.no RewriteCond %{REQUEST_URI} !/static RewriteRule ^(.*)$ php/bot.php [L,NC,QSA] +RewriteCond %{HTTP_HOST} ^zoff.no +RewriteCond %{REQUEST_URI} /spotify_callback +RewriteRule ^(.*)$ php/spotify.html [L,NC,QSA] + RewriteCond %{HTTP_HOST} ^localhost RewriteCond %{REQUEST_URI} /spotify_callback RewriteRule ^(.*)$ php/spotify.html [L,NC,QSA]