back-end / funcs /utils.py
zeegeedee's picture
Upload utility and joke code files.
2f7e137 verified
Raw
History Blame Contribute Delete
487 Bytes
# This file includes the utility function handlers.
# Currently, the only file here is the ping function,
# which does absolutely nothing.
# Defines the handler for the ping action to do nothing.
# I still included this because it is still important.
# On the frontend, it sends a ping action every 30 seconds
# prevents the websocket connection from closing after
# a minute due to inactivity.
def ping():
# Do absolutely nothing,
return # Then exit the function.