flask 트리 구성

url 셋팅 및 테스트
This commit is contained in:
김민구
2024-01-05 18:23:09 +09:00
parent 4daef569c5
commit 5f9592ac0b
8 changed files with 157 additions and 46 deletions

13
templates/myimage.html Normal file
View 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>