16 lines
339 B
Python
16 lines
339 B
Python
#!/usr/bin/python3
|
|
#/* vim:set ts=2 set noexpandtab */
|
|
from flask import Flask, render_template, url_for
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/")
|
|
def index():
|
|
return render_template("search.html")
|
|
|
|
@app.route("/categorys")
|
|
def categorys():
|
|
return render_template("categorys.html")
|
|
|
|
if __name__ == "__main__":
|
|
app.run(debug=True)
|