Skip to content

Commit

Permalink
update cpp-httplib. fix spine player.
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy committed Jan 4, 2024
1 parent becefa8 commit 9208d08
Show file tree
Hide file tree
Showing 5 changed files with 349 additions and 227 deletions.
6 changes: 5 additions & 1 deletion Assets/Script/Lib/WebServer.yue
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,11 @@ HttpServer\post "/assets", ->
lv2 = extentionLevels[ext] ?? -1
names[name] = ext if lv2 > lv1
else
names[name] = Path\getExt file
ext = Path\getExt file
if not extentionLevels[ext]
names[file] = ""
else
names[name] = ext
files = [ext == '' and name or name .. '.' .. ext for name, ext in pairs names]
for file in *files
children = [] unless children
Expand Down
Loading

0 comments on commit 9208d08

Please sign in to comment.