Skip to content

Commit

Permalink
整理: 設定 UI テンプレートファイルのネストを削除 (#1337)
Browse files Browse the repository at this point in the history
refactor: 設定 UI テンプレートファイルのネストを削除
  • Loading branch information
tarepan authored May 28, 2024
1 parent 73d98c6 commit d86007e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions voicevox_engine/app/routers/setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from ..dependencies import check_disabled_mutable_api

_setting_ui_template = Jinja2Templates(
directory=resource_root() / "ui_template",
directory=resource_root(),
variable_start_string="<JINJA_PRE>",
variable_end_string="<JINJA_POST>",
)
Expand All @@ -38,7 +38,7 @@ def setting_get(request: Request) -> Response:
allow_origin = ""

return _setting_ui_template.TemplateResponse(
"ui.html",
"setting_ui_template.html",
{
"request": request,
"brand_name": brand_name,
Expand Down

0 comments on commit d86007e

Please sign in to comment.