Aurora SpotiRip desktop and web app
- Spotify playlist, library, album and artist browsing with in-app playback - Song, playlist and album downloads via spotdl with YouTube and Bandcamp fallbacks - Electron desktop app (castLabs Widevine) with a permanent sidebar layout - Linux and Windows packaging scripts
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import superjson from "superjson";
|
||||
import { clearCookie } from "../helpers/spotifyServer";
|
||||
|
||||
export async function handle() {
|
||||
const headers = new Headers({ "Content-Type": "application/json", "Cache-Control": "no-store" });
|
||||
headers.append("Set-Cookie", clearCookie("spotirip_spotify_access"));
|
||||
headers.append("Set-Cookie", clearCookie("spotirip_spotify_refresh"));
|
||||
headers.append("Set-Cookie", clearCookie("spotirip_spotify_expires"));
|
||||
headers.append("Set-Cookie", clearCookie("spotirip_oauth_state"));
|
||||
return new Response(superjson.stringify({ connected: false }), { headers });
|
||||
}
|
||||
Reference in New Issue
Block a user