Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe0e08b

Browse files
authored
Update server.py
1 parent864f113 commitbe0e08b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def serve_dir_directory_index():
2424
defserve_any_other_file(path):
2525
ifnotos.path.isfile(os.path.join(static_file_dir,path)):
2626
path=os.path.join(path,'index.html')
27-
response=send_from_directory(static_file_dir,path)
28-
response.cache_control.max_age=0# avoid cache memory
27+
response=send_from_directory(static_file_dir,path)
28+
response.cache_control.max_age=0# avoid cache memory
2929
returnresponse
3030

3131
app.run(host='0.0.0.0',port=3000,debug=True,extra_files=['./',])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp