mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-30 00:14:19 +00:00
19 lines
426 B
Python
19 lines
426 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():
|
|
"""
|
|
---
|
|
get:
|
|
description: Test endpoint. If this page works, the server is fine.
|
|
tags:
|
|
- debug
|
|
"""
|
|
if request.method == "GET":
|
|
return "If you see this, the server is fine."
|
|
return "Hello there."
|