Skip to content

Commit

Permalink
api pieces-hash chagen to post method
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Jul 27, 2023
1 parent e3c35e5 commit ee3995a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@


Route::group(['middleware' => ['auth.nexus:passkey', 'locale']], function () {
Route::get("pieces-hash", [\App\Http\Controllers\TorrentController::class, "queryByPiecesHash"])->name("torrent.pieces_hash.query");
Route::post("pieces-hash", [\App\Http\Controllers\TorrentController::class, "queryByPiecesHash"])->name("torrent.pieces_hash.query");
});

0 comments on commit ee3995a

Please sign in to comment.