shakecities/sites/website.py
Nathan Woodburn d4d987944a
All checks were successful
Build Docker / Build SLDs Image (push) Successful in 19s
Build Docker / Build Main Image (push) Successful in 20s
fit: Site preview
2023-11-08 22:32:00 +11:00

8 lines
259 B
Python

from flask import Flask, make_response, redirect, render_template_string, request, jsonify, render_template, send_from_directory
def render(data):
if data == "":
return "No data found for this domain"
return render_template_string(data)