Commit 01e6beec authored by Jakob Moser's avatar Jakob Moser
Browse files

Pretend to load static songs JSON

parent da1caf1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ import { getFavoriteIds, addFavorite, removeFavorite } from "./favorites.js"

export default class Song extends Base {
    static async forceLoad() {
        return await m.request({ url: "/api/songs" })
        return await m.request({ url: "/songs.json" })
    }

    get favorite() {