From 42fff9dad720e0995750b41a3a9ac7dbfec24dba Mon Sep 17 00:00:00 2001 From: Will Nilges Date: Wed, 27 Jul 2022 23:55:16 -0400 Subject: [PATCH] Replace hardcoded URL Appease Mary Strodl --- proxstar/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxstar/tasks.py b/proxstar/tasks.py index 7b47dac..0e928a8 100644 --- a/proxstar/tasks.py +++ b/proxstar/tasks.py @@ -240,7 +240,7 @@ def cleanup_vnc_task(): try: requests.post( - 'https://proxstar.csh.rit.edu/console/cleanup', + 'https://{}/console/cleanup'.format(app.config['SERVER_NAME']), data={'token': app.config['VNC_CLEANUP_TOKEN']}, verify=False, )