소스 검색

production prep

Flavionel 5 년 전
부모
커밋
958da71f34
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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');
+}