From 2c79d56afbdef142a3a7bade831fe9c925c11570 Mon Sep 17 00:00:00 2001 From: LoveesYe <109154433+LoveesYe@users.noreply.github.com> Date: Fri, 15 Jul 2022 23:46:07 +0200 Subject: [PATCH] Update index.php --- web/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/index.php b/web/index.php index 18c0dd5..834399e 100644 --- a/web/index.php +++ b/web/index.php @@ -19,7 +19,7 @@ if(strpos($url, '/common/timestamp') !== false && $method=='POST'){ } elseif(strpos($url, '/auth') !== false && $method=='POST'){ $param = parse_input(); - $data = ['nodes'=>10000, 'machine_code'=>$param['machine_code'], 'end_at'=>time()+3600*24*365]; + $data = ['nodes'=>10000, 'machine_code'=>$param['machine_code'], 'end_at'=>time()+3600*24*365*10]; echo generate_output($data); } elseif(strpos($url, '/check') !== false && $method=='POST'){