Thijmen
Thijmen
FFilament
Created by Thijmen on 11/17/2023 in #❓┊help
HTTP/HTTPS issues with table.js
apearantly the other dev managed to fix this by forcing https using Illuminate:
namespace App\Providers;

use Illuminate\Support\ServiceProvider;
+use Illuminate\Support\Facades\URL;

class AppServiceProvider extends ServiceProvider
{
@@ -19,6 +20,6 @@ public function register(): void
*/
public function boot(): void
{
- //
+ URL::forceScheme('https');
}
}
namespace App\Providers;

use Illuminate\Support\ServiceProvider;
+use Illuminate\Support\Facades\URL;

class AppServiceProvider extends ServiceProvider
{
@@ -19,6 +20,6 @@ public function register(): void
*/
public function boot(): void
{
- //
+ URL::forceScheme('https');
}
}
Hope this helps.
3 replies