1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-29 07:54:19 +00:00
pds-2021-g2-nest/code/backend/nest_backend/routes/doa.py
2021-05-06 11:25:39 +02:00

12 lines
283 B
Python

"""
Page that displays a message if the server is on
"""
from flask import render_template, abort, jsonify, request
from nest_backend.database import *
def page_doa():
if request.method == "GET":
return "If you see this, the server is fine."
return "Hello there."