2021-04-19 14:14:51 +00:00
|
|
|
"""
|
|
|
|
Page that displays a message if the server is on
|
|
|
|
"""
|
|
|
|
|
2021-04-22 14:54:27 +00:00
|
|
|
from flask import render_template, abort, jsonify, request
|
2021-05-05 20:21:04 +00:00
|
|
|
from nest_backend.database import *
|
2021-04-21 16:47:18 +00:00
|
|
|
|
|
|
|
|
2021-04-19 14:23:50 +00:00
|
|
|
def page_doa():
|
2021-04-22 16:46:41 +00:00
|
|
|
"""
|
2021-05-05 20:21:04 +00:00
|
|
|
---
|
|
|
|
get:
|
|
|
|
description: Test endpoint. If this page works, the server is fine.
|
|
|
|
tags:
|
|
|
|
- debug
|
2021-04-22 16:46:41 +00:00
|
|
|
"""
|
2021-04-22 14:54:27 +00:00
|
|
|
if request.method == "GET":
|
2021-04-22 16:46:41 +00:00
|
|
|
return "If you see this, the server is fine."
|
|
|
|
return "Hello there."
|