Spaces:
Running
Running
humanda5
commited on
Commit
·
3d47d2b
1
Parent(s):
a147abc
프로젝트 구조 단순화 테스트
Browse files
app.py
CHANGED
@@ -42,12 +42,6 @@ def create_app():
|
|
42 |
print("="*60)
|
43 |
traceback.print_exc() # 에러의 전체 경로를 출력합니다.
|
44 |
print("="*60)
|
45 |
-
|
46 |
-
|
47 |
-
# 포트폴리오의 메인 랜딩 페이지
|
48 |
-
@app.route("/")
|
49 |
-
def index():
|
50 |
-
return render_template("main.html")
|
51 |
|
52 |
return app
|
53 |
|
|
|
42 |
print("="*60)
|
43 |
traceback.print_exc() # 에러의 전체 경로를 출력합니다.
|
44 |
print("="*60)
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
return app
|
47 |
|
npc_social_network/routes/npc_route.py
CHANGED
@@ -8,8 +8,6 @@ import os
|
|
8 |
npc_bp = Blueprint(
|
9 |
"npc_social",
|
10 |
__name__,
|
11 |
-
url_prefix="/npc_social_network",
|
12 |
-
template_folder="../templates",
|
13 |
static_folder="../static"
|
14 |
)
|
15 |
|
|
|
8 |
npc_bp = Blueprint(
|
9 |
"npc_social",
|
10 |
__name__,
|
|
|
|
|
11 |
static_folder="../static"
|
12 |
)
|
13 |
|
{npc_social_network/templates → templates}/dashboard.html
RENAMED
File without changes
|
templates/main.html
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
<!--portfolio/templates/main.html-->
|
2 |
-
<!DOCTYPE html>
|
3 |
-
<html lang="ko">
|
4 |
-
<head>
|
5 |
-
<meta charset="UTF-8">
|
6 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7 |
-
<title>포트폴리오</title>
|
8 |
-
</head>
|
9 |
-
<body>
|
10 |
-
<h1>포트폴리오 메인</h1>
|
11 |
-
<p>프로젝트 목록:</p>
|
12 |
-
<ul>
|
13 |
-
<!-- BUG FIX: form 대신 간단한 링크로 수정 -->
|
14 |
-
<li><a href="{{ url_for('npc_social.dashboard') }}">NPC 소셜 네트워크 관찰자 대시보드</a></li>
|
15 |
-
</ul>
|
16 |
-
</body>
|
17 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|