This commit is contained in:
parent
237205df26
commit
1bed5ed592
@ -8,7 +8,7 @@ import requests
|
|||||||
def main(req: func.HttpRequest) -> func.HttpResponse:
|
def main(req: func.HttpRequest) -> func.HttpResponse:
|
||||||
startdate = date(2022, 8, 29)
|
startdate = date(2022, 8, 29)
|
||||||
currentweek = floor((date.today() - startdate).days / 7)
|
currentweek = floor((date.today() - startdate).days / 7)
|
||||||
request.get("https://tormakristof.eu/")
|
requests.get("https://tormakristof.eu/")
|
||||||
return func.HttpResponse(
|
return func.HttpResponse(
|
||||||
str(currentweek),
|
str(currentweek),
|
||||||
status_code=200)
|
status_code=200)
|
||||||
|
Loading…
Reference in New Issue
Block a user