Skip to content

Commit 08fda86

Browse files
authored
[Bug] Removed embeddable public dashboard (alexjustesen#1025)
1 parent bfe86eb commit 08fda86

File tree

6 files changed

+0
-61
lines changed

6 files changed

+0
-61
lines changed

.env.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ APP_KEY=
44
APP_DEBUG=false
55
APP_URL=http://localhost
66

7-
ALLOW_EMBEDS=
8-
97
FORCE_HTTPS=false
108

119
CONTENT_WIDTH=7xl

app/Http/Kernel.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,5 @@ class Kernel extends HttpKernel
6464
'signed' => \App\Http\Middleware\ValidateSignature::class,
6565
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
6666
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
67-
68-
'x-frame-allow' => \App\Http\Middleware\FrameAllowOptions::class,
6967
];
7068
}

app/Http/Middleware/FrameAllowOptions.php

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

config/speedtest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,4 @@
2323
'notification_polling' => env('NOTIFICATION_POLLING', '60s'),
2424

2525
'results_polling' => env('RESULTS_POLLING', null),
26-
27-
/**
28-
* Security
29-
*/
30-
'allow_embeds' => env('ALLOW_EMBEDS', null),
3126
];

docker/deploy/etc/nginx/server-opts.d/security.conf

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

routes/web.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
Route::get('/', HomeController::class)
18-
->middleware('x-frame-allow')
1918
->name('home');
2019

2120
Route::redirect('/login', '/admin/login')

0 commit comments

Comments
 (0)