diff --git a/files/routes/static.py b/files/routes/static.py index 8695e36da..11d26af1f 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -518,8 +518,7 @@ if SITE == 'pcmemes.net' or True: except: print(id, flush=True) - - return render_template('live.html', v=v, live=live, offline=offline, msg="Channel added successfuly!") + return redirect('/live') @app.post('/live/remove') @admin_level_required(2) @@ -541,4 +540,4 @@ if SITE == 'pcmemes.net' or True: cache.set('live', live) cache.set('offline', offline) - return render_template('live.html', v=v, live=live, offline=offline, msg="Channel removed successfuly!") \ No newline at end of file + return redirect('/live') \ No newline at end of file