Restart unless stopped
This commit is contained in:
		
							parent
							
								
									b2925d64e0
								
							
						
					
					
						commit
						f21e23735d
					
				|  | @ -145,8 +145,10 @@ public class TYTDServer : Server | |||
|     } | ||||
|     public override async Task GetAsync(ServerContext ctx) | ||||
|     { | ||||
|         Console.WriteLine(ctx.UrlPath); | ||||
|         if(onlyVideos) | ||||
|         { | ||||
|              | ||||
|             string url=ctx.UrlPath.Substring(1); | ||||
|             stk?.Push(url); | ||||
|             await ctx.SendTextAsync("<script>window.history.back();</script>"); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue