2023-06-27 22:35:42 +02:00
|
|
|
from app import app
|
|
|
|
from app.utils.render import render
|
|
|
|
from flask import send_file, url_for
|
|
|
|
|
|
|
|
@app.route('/chat')
|
|
|
|
def chat():
|
|
|
|
return render('chat.html',
|
|
|
|
scripts=[
|
|
|
|
'-scripts/trigger_menu.js',
|
|
|
|
'-scripts/editor.js'])
|
|
|
|
|
2023-07-28 11:41:28 +02:00
|
|
|
@app.route('/v5shoutbox_worker.js')
|
|
|
|
def v5shoutbox_worker_js():
|
|
|
|
return send_file('static/scripts/v5shoutbox_worker.js')
|