Spaces:
Runtime error
Runtime error
Anuj-Panthri
commited on
Commit
•
b332f6a
1
Parent(s):
eec00fa
added somethings for forcing https
Browse files
app/Providers/AppServiceProvider.php
CHANGED
@@ -20,5 +20,8 @@ public function register(): void
|
|
20 |
public function boot(): void
|
21 |
{
|
22 |
//
|
|
|
|
|
|
|
23 |
}
|
24 |
}
|
|
|
20 |
public function boot(): void
|
21 |
{
|
22 |
//
|
23 |
+
if($this->app->environment('production')) {
|
24 |
+
\URL::forceScheme('https');
|
25 |
+
}
|
26 |
}
|
27 |
}
|
resources/views/welcome.blade.php
CHANGED
@@ -10,8 +10,8 @@
|
|
10 |
<link rel="preconnect" href="https://fonts.bunny.net">
|
11 |
<link href="https://fonts.bunny.net/css?family=figtree:400,600&display=swap" rel="stylesheet" />
|
12 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
13 |
-
|
14 |
-
<link href="css/style.css" rel="stylesheet">
|
15 |
</head>
|
16 |
<body>
|
17 |
<div class="main_container">
|
|
|
10 |
<link rel="preconnect" href="https://fonts.bunny.net">
|
11 |
<link href="https://fonts.bunny.net/css?family=figtree:400,600&display=swap" rel="stylesheet" />
|
12 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
13 |
+
<link href="{{ asset('css/style.css') }}" rel="stylesheet">
|
14 |
+
<!-- <link href="css/style.css" rel="stylesheet"> -->
|
15 |
</head>
|
16 |
<body>
|
17 |
<div class="main_container">
|