Skip to content

Commit

Permalink
add API_URL config
Browse files Browse the repository at this point in the history
we use default value to `https://api.tanahku.online`
so if forgot to add `API_URL` in `.env` it's okay

Signed-off-by: Memet Zx <zxce3@gnuweeb.org>
  • Loading branch information
Zxce3 committed Feb 16, 2024
1 parent e02803b commit 35f414f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@

'name' => env('APP_NAME', 'Laravel'),

/*
|--------------------------------------------------------------------------
| Application API URL
|--------------------------------------------------------------------------
|
| This URL is used by the application to generate URLs for the API. You
| should set this to the root of your application so that it is used
| when running API requests.
|
*/

'api_url' => env('API_URL', 'https://api.tanahku.online'),

/*
|--------------------------------------------------------------------------
| Application Environment
Expand Down

0 comments on commit 35f414f

Please sign in to comment.