update: visual update, phone responsive, db migration

This commit is contained in:
Nathan FONTEYNE 2026-07-08 11:50:12 +02:00
parent 73ebd6ad49
commit e97aa2c6c3
16 changed files with 894 additions and 244 deletions

10
src/lib/spotify.js Normal file
View file

@ -0,0 +1,10 @@
function isValidSpotifyUrl(url) {
try {
const parsed = new URL(url);
return parsed.hostname === 'open.spotify.com';
} catch {
return false;
}
}
module.exports = { isValidSpotifyUrl };