mirror of
https://github.com/suhf/No1WMSPython.git
synced 2026-02-04 12:13:27 +09:00
flask 트리 구성
url 셋팅 및 테스트
This commit is contained in:
13
templates/myimage.html
Normal file
13
templates/myimage.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
|
||||
<h2>도라에몽</h2>
|
||||
<a href="/hellos/도라에몽">
|
||||
<img src="static/img/dora.png">
|
||||
</a>
|
||||
<a href={{ url_for('hellos', name='도라에몽') }}>
|
||||
<img src={{ url_for('static', filename='img/dora.png') }}>
|
||||
</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user