mirror of
https://github.com/sotam0316/drawNET_test.git
synced 2026-04-25 03:58:38 +09:00
폴더 및 하위 파일 업로드
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
import os
|
||||
from flask import Blueprint, render_template, send_from_directory
|
||||
|
||||
main_bp = Blueprint('main', __name__)
|
||||
|
||||
@main_bp.route('/')
|
||||
def index():
|
||||
return render_template('index.html')
|
||||
|
||||
@main_bp.route('/studio')
|
||||
def studio():
|
||||
return render_template('studio.html')
|
||||
|
||||
@main_bp.route('/manual/<path:filename>')
|
||||
def serve_manual(filename):
|
||||
return send_from_directory(os.path.join(os.getcwd(), 'manual'), filename)
|
||||
Reference in New Issue
Block a user