Compare commits

..

4 Commits

Author SHA1 Message Date
enoch 0a46f7417a Merge pull request 'changeversion' (#7) from master into main
Reviewed-on: #7
2024-11-08 00:21:03 +08:00
enoch 9c8a622734 changeversion 2024-11-08 00:20:33 +08:00
enoch a637e3b5bc Merge pull request '修改etag以符合bunny' (#6) from master into main
Reviewed-on: #6
2024-11-08 00:10:20 +08:00
enoch af6d330f81 修改etag以符合bunny 2024-11-08 00:09:27 +08:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ class Server
return redirect('/');
}
if($source->type==0){
$etag='"'.md5($source->source).'"';
$etag='W/"'.md5($source->source).'"';
$if_none_match = $request->header('If-None-Match',null);
if($if_none_match==$etag){
return response('',304);
+1 -1
View File
@@ -182,7 +182,7 @@ input:checked + .slider:before {
</main>
<footer>
<hr/>
©<a href="https://laysense.cn">laysense.cn</a> 2024 Made with <a href="https://oxal.org/projects/sakura">sakura.css</a>
©<a href="https://laysense.cn">laysense.cn</a> 2024 Made with <a href="https://oxal.org/projects/sakura">sakura.css</a> Version: 1.0.5
</footer>
<script src="jquery-3.6.3.min.js"></script>
<script>
+1 -1
View File
@@ -4,5 +4,5 @@ require_once __DIR__ . '/vendor/autoload.php';
$hash=exec('git rev-parse --short HEAD');
$git_address=exec('git remote -v | grep fetch');
print_r('===========Laysense Webman Start=============');
echo "Version: 1.0.4 | Git Hash: $hash | Git Url: $git_address \n";
echo "Version: 1.0.5 | Git Hash: $hash | Git Url: $git_address \n";
support\App::run();