Compare commits
4 Commits
429aeabb60
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a46f7417a | |||
| 9c8a622734 | |||
| a637e3b5bc | |||
| af6d330f81 |
@@ -103,7 +103,7 @@ class Server
|
|||||||
return redirect('/');
|
return redirect('/');
|
||||||
}
|
}
|
||||||
if($source->type==0){
|
if($source->type==0){
|
||||||
$etag='"'.md5($source->source).'"';
|
$etag='W/"'.md5($source->source).'"';
|
||||||
$if_none_match = $request->header('If-None-Match',null);
|
$if_none_match = $request->header('If-None-Match',null);
|
||||||
if($if_none_match==$etag){
|
if($if_none_match==$etag){
|
||||||
return response('',304);
|
return response('',304);
|
||||||
|
|||||||
+1
-1
@@ -182,7 +182,7 @@ input:checked + .slider:before {
|
|||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
<hr/>
|
<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>
|
</footer>
|
||||||
<script src="jquery-3.6.3.min.js"></script>
|
<script src="jquery-3.6.3.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ require_once __DIR__ . '/vendor/autoload.php';
|
|||||||
$hash=exec('git rev-parse --short HEAD');
|
$hash=exec('git rev-parse --short HEAD');
|
||||||
$git_address=exec('git remote -v | grep fetch');
|
$git_address=exec('git remote -v | grep fetch');
|
||||||
print_r('===========Laysense Webman Start=============');
|
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();
|
support\App::run();
|
||||||
|
|||||||
Reference in New Issue
Block a user