1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2025-02-18 05:33:58 +00:00
pds-2021-g2-nest/nest_backend/routes/doa.py

13 lines
283 B
Python
Raw Normal View History

2021-04-19 16:14:51 +02:00
"""
Page that displays a message if the server is on
"""
2021-04-22 16:54:27 +02:00
from flask import render_template, abort, jsonify, request
2021-05-05 22:21:04 +02:00
from nest_backend.database import *
2021-04-19 16:23:50 +02:00
def page_doa():
2021-04-22 16:54:27 +02:00
if request.method == "GET":
return "If you see this, the server is fine."
return "Hello there."