Explorar el Código

production prep

Flavionel hace 5 años
padre
commit
958da71f34
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      routes/web.php

+ 5 - 1
routes/web.php

@@ -69,4 +69,8 @@ Route::get('/client/meeting/{meeting_uid}', 'ClientController@entranceLobby')->n
 Route::bind('url_slug', function($value, $route)
 {
     return Lobby::where('url_slug', $value)->first();
-});
+});
+
+if (env('APP_ENV') === 'production') {
+    URL::forceScheme('https');
+}