DEV Community

Discussion on: Moving your cron job to the cloud with Google Cloud Functions

Collapse
 
di profile image
Dustin Ingram

Cloud Functions just uses Flask under the hood, so I just did:

from flask import redirect

def send_pythons(request):
    return redirect("https://twitter.com/di_codes")