/// <summary> /// Disables the redirect. /// </summary> public static void DisableRedirect() { redirectSongStorage = null; redirectBackgroundStorage = null; }
/// <summary> /// Enables redirecting of all request over local server using the given password. /// </summary> /// <param name="password">The password.</param> public static void EnableRedirect(SongStorage songs, BackgroundStorage backgrounds) { redirectSongStorage = songs; redirectBackgroundStorage = backgrounds; }