Skip to content

Commit e83bd3b

Browse files
committed
Remove /push endpoint [API-352]
1 parent 1d9655f commit e83bd3b

File tree

6 files changed

+0
-72
lines changed

6 files changed

+0
-72
lines changed

.env.example

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,3 @@ AWS_USE_PATH_STYLE_ENDPOINT=false
128128
# API-343: For importing wait times:
129129
QUEUES_API_URL=
130130
QUEUES_API_KEY=
131-
132-
# API-344: HTTPAuth for /push routes
133-
BASIC_AUTH_USERNAME=
134-
BASIC_AUTH_PASSWORD=

app/Http/Controllers/ProductController.php

Lines changed: 0 additions & 39 deletions
This file was deleted.

app/Http/Kernel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,5 @@ class Kernel extends HttpKernel
7272
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
7373
'restrict' => \App\Http\Middleware\RestrictContent::class,
7474
'loginIp' => \App\Http\Middleware\LoginIpMiddleware::class,
75-
'basic_auth' => \Aic\Hub\Foundation\Middleware\BasicAuthMiddleware::class,
7675
];
7776
}

app/Providers/RouteServiceProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ public function boot()
4848
->namespace($this->namespace)
4949
->group(base_path('routes/la.php'));
5050

51-
Route::prefix('push')
52-
->middleware('basic_auth')
53-
->namespace($this->namespace)
54-
->group(base_path('routes/push.php'));
55-
5651
Route::middleware('web')
5752
->namespace($this->namespace)
5853
->group(base_path('routes/web.php'));

config/aic.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,19 +92,6 @@
9292
'access_whitelist_ips' => array_map('trim', explode(',', env('ACCESS_WHITELIST_IPS', ''))),
9393
],
9494

95-
/*
96-
|--------------------------------------------------------------------------
97-
| Basic HTTP Auth
98-
|--------------------------------------------------------------------------
99-
|
100-
| Use the `basic_auth` middleware to secure routes.
101-
|
102-
*/
103-
'basic_auth' => [
104-
'username' => env('BASIC_AUTH_USERNAME'),
105-
'password' => env('BASIC_AUTH_PASSWORD'),
106-
],
107-
10895
/*
10996
|--------------------------------------------------------------------------
11097
| Wait Times

routes/push.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)