From b40cb973a10c622ec7375ad1862acb8d171abf7b Mon Sep 17 00:00:00 2001 From: mohamadreza Date: Wed, 11 Sep 2024 17:32:51 +0330 Subject: [PATCH] feat(api): change api --- app/Controllers/CodeController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/CodeController.php b/app/Controllers/CodeController.php index afe81f8..c29ca8d 100644 --- a/app/Controllers/CodeController.php +++ b/app/Controllers/CodeController.php @@ -83,7 +83,7 @@ public function save(): void ':title' => $request['title'], ]); Flight::json($this->success2([ - 'url' => env('APP_URL').'/api/v1/code/'.$uuid, + 'url' => $uuid, 'message' => ['Code saved successfully.'], ])); }