Files
old-svevijesti/pyth/web-server.py
2024-01-02 15:00:07 +01:00

24 lines
409 B
Python

from flask import Flask , render_template , jsonify
from vectData import get_data
from flask_cors import CORS
app = Flask(__name__)
CORS(app)
@app.route('/')
def index() :
return render_template("index.html")
@app.route('/article/one')
def articleone():
return render_template("one.html")
@app.route('/article/two')
def articletwo():
return render_template("two.html")
app.run(debug=True)