mirror of
https://github.com/sotam0316/drawNET.git
synced 2026-04-25 03:58:37 +09:00
Initial commit: drawNET Alpha v1.0 - Professional Topology Designer with Full i18n and Performance Optimizations
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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('/admin/license')
|
||||
def admin_license():
|
||||
return render_template('admin_license.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