Skip to content

Commit 30d5273

Browse files
authored
Merge pull request LC044#278 from STDquantum/master
文件名称显示成文件路径了,后面什么都打不开。
2 parents 0a69b7b + 5f245e5 commit 30d5273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/util/compress_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def file(bytes_extra, compress_content, output_path):
248248
file_path = get_file(bytes_extra, file_name, output_path)
249249
return {
250250
'type': msg_type,
251-
'file_name': escape_js_and_html(file_path),
251+
'file_name': escape_js_and_html(file_name),
252252
'file_len': file_len,
253253
'file_ext': file_ext,
254254
'file_path': file_path,

0 commit comments

Comments
 (0)