vapor again

This commit is contained in:
2023-09-11 21:01:16 -07:00
parent 658dbc234e
commit 96073ed048
23 changed files with 39 additions and 424 deletions

30
app.py Normal file
View File

@@ -0,0 +1,30 @@
from flask import Flask, render_template, request, Response
from flask_api import status
import sys
app = Flask(__name__)
# main smpark.in stuff
@app.route('/', methods=["GET"])
def home():
return render_template('home.html')
@app.route('/welcome', methods=["GET"])
def welcome():
return render_template('welcome.html')
@app.route('/privacy', methods=["GET"])
def privacy():
return render_template('privacy.html')
@app.errorhandler(404)
def fourohfour():
return render_template('404.html')
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000)