diff --git a/plugin.json b/plugin.json index eb4e3c6..ff9e879 100644 --- a/plugin.json +++ b/plugin.json @@ -5,6 +5,6 @@ "provider": "Botble\\MaintenanceMode\\Providers\\MaintenanceModeServiceProvider", "author": "Botble Technologies", "url": "https://botble.com", - "version": "2.2.1", + "version": "2.2.2", "description": "Manage maintenance mode from the admin panel" } diff --git a/public/js/maintenance.js b/public/js/maintenance.js index 52e117a..afc4a7e 100644 --- a/public/js/maintenance.js +++ b/public/js/maintenance.js @@ -1 +1 @@ -(()=>{function e(e,n){for(var t=0;t{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n){for(var o=0;o 'Bypassing Maintenance Mode', 'click_to_bypass_maintenance_mode' => 'Please click here to bypassing maintenance mode.', 'close' => 'Close', + 'bypass_warning' => 'The secret link to bypass maintenance mode, YOU NEED TO BACK UP THIS LINK IN A SAFE PLACE', ]; diff --git a/resources/lang/vi/maintenance-mode.php b/resources/lang/vi/maintenance-mode.php index b255281..a88ff9d 100644 --- a/resources/lang/vi/maintenance-mode.php +++ b/resources/lang/vi/maintenance-mode.php @@ -25,4 +25,5 @@ 'bypass_maintenance_mode' => 'Bỏ qua chế độ bảo trì', 'click_to_bypass_maintenance_mode' => 'Vui lòng nhấp vào đây để được bỏ qua chế độ bảo trì.', 'close' => 'Đóng', + 'bypass_warning' => 'Đường dẫn bí mật để vượt qua chế độ bảo trì, BẠN CẦN LƯU LIÊN KẾT NÀY Ở MỘT NƠI AN TOÀN', ]; diff --git a/resources/views/maintenance.blade.php b/resources/views/maintenance.blade.php index d7fbaf3..02b8e86 100644 --- a/resources/views/maintenance.blade.php +++ b/resources/views/maintenance.blade.php @@ -38,6 +38,10 @@