Fixed repoview generator

This commit is contained in:
Alexey Berezhok
2025-12-05 00:06:26 +03:00
parent 482a586b6e
commit 97ee27fe79
2 changed files with 2 additions and 5 deletions

2
app.rb
View File

@@ -613,7 +613,6 @@ post "/prjcfg/:id" do
if prj_info.nil?
print_error_page(503, "Путь к проектам не существует")
else
pp params
unless params["cancel"].nil?
redirect "/prjedit/#{params["id"]}"
else
@@ -1379,7 +1378,6 @@ end
get "/prjsignview/:id/*" do
data_path = params[:splat]
pp data_path
if data_path.nil? || data_path.first.strip == ""
data_path = "index.html"
end