Compare commits
5 Commits
master
..
429aeabb60
| Author | SHA1 | Date | |
|---|---|---|---|
| 429aeabb60 | |||
| 0bf1039836 | |||
| 5e4c6f957d | |||
| 9c6893a67c | |||
| 1ad6db98b1 |
@@ -103,7 +103,7 @@ class Server
|
||||
return redirect('/');
|
||||
}
|
||||
if($source->type==0){
|
||||
$etag='W/"'.md5($source->source).'"';
|
||||
$etag='"'.md5($source->source).'"';
|
||||
$if_none_match = $request->header('If-None-Match',null);
|
||||
if($if_none_match==$etag){
|
||||
return response('',304);
|
||||
|
||||
+1
-1
@@ -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> Version: 1.0.5
|
||||
©<a href="https://laysense.cn">laysense.cn</a> 2024 Made with <a href="https://oxal.org/projects/sakura">sakura.css</a>
|
||||
</footer>
|
||||
<script src="jquery-3.6.3.min.js"></script>
|
||||
<script>
|
||||
|
||||
@@ -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.5 | Git Hash: $hash | Git Url: $git_address \n";
|
||||
echo "Version: 1.0.4 | Git Hash: $hash | Git Url: $git_address \n";
|
||||
support\App::run();
|
||||
|
||||
Reference in New Issue
Block a user