14 lines
No EOL
314 B
Python
14 lines
No EOL
314 B
Python
from flask import Flask, render_template, send_from_directory
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route('/')
|
|
def home():
|
|
return render_template('index.xht')
|
|
|
|
@app.route('/style.css')
|
|
def style():
|
|
return send_from_directory('static', 'output.css')
|
|
|
|
if __name__ == '__main__':
|
|
app.run(host="0.0.0.0", port=8080) |