Compare commits
2 commits
168f72a417
...
f4ec127a95
Author | SHA256 | Date | |
---|---|---|---|
f4ec127a95 | |||
f9db0dba0b |
2 changed files with 8 additions and 1 deletions
7
src/toastbin/app.py
Normal file
7
src/toastbin/app.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
from flask import Flask, render_template
|
||||||
|
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
|
@app.route("/")
|
||||||
|
def index:
|
||||||
|
return render_template
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>toastbin</title>
|
<title>toastbin - {{ instance }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
Loading…
Add table
Reference in a new issue