diff --git a/.gitignore b/.gitignore index a81d2a3..ce2c1b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /hook/gogs_key.php /hook/logs.txt +/hook/list.json diff --git a/hook/hook.php b/hook/hook.php index 6eda360..fa8eca5 100644 --- a/hook/hook.php +++ b/hook/hook.php @@ -26,4 +26,4 @@ foreach ($raw_img_list as $path) { $img_list[] = $path; } -file_put_contents('list.json', json_encode($img_list,JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT)); \ No newline at end of file +file_put_contents('list.json', json_encode($img_list, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT)); \ No newline at end of file