Browse Source

fix: error page

Muhammad Iqbal Afandi 3 years ago
parent
commit
9b24e85225
3 changed files with 7 additions and 11 deletions
  1. 5
    5
      composer.lock
  2. 1
    5
      resources/js/pages/error/Error.vue
  3. 1
    1
      webpack.mix.js

+ 5
- 5
composer.lock View File

@@ -9010,16 +9010,16 @@
9010 9010
         },
9011 9011
         {
9012 9012
             "name": "spatie/laravel-ignition",
9013
-            "version": "1.2.0",
9013
+            "version": "1.2.1",
9014 9014
             "source": {
9015 9015
                 "type": "git",
9016 9016
                 "url": "https://github.com/spatie/laravel-ignition.git",
9017
-                "reference": "2b54c8c66f2d280f25e15064ebe3d5e3eda19820"
9017
+                "reference": "9ad1d32acf8c855d711964bc19092b0bc9792273"
9018 9018
             },
9019 9019
             "dist": {
9020 9020
                 "type": "zip",
9021
-                "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/2b54c8c66f2d280f25e15064ebe3d5e3eda19820",
9022
-                "reference": "2b54c8c66f2d280f25e15064ebe3d5e3eda19820",
9021
+                "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/9ad1d32acf8c855d711964bc19092b0bc9792273",
9022
+                "reference": "9ad1d32acf8c855d711964bc19092b0bc9792273",
9023 9023
                 "shasum": ""
9024 9024
             },
9025 9025
             "require": {
@@ -9096,7 +9096,7 @@
9096 9096
                     "type": "github"
9097 9097
                 }
9098 9098
             ],
9099
-            "time": "2022-04-01T21:01:58+00:00"
9099
+            "time": "2022-04-13T08:06:05+00:00"
9100 9100
         },
9101 9101
         {
9102 9102
             "name": "theseer/tokenizer",

+ 1
- 5
resources/js/pages/error/Error.vue View File

@@ -23,10 +23,6 @@ const description = computed(() => {
23 23
     403: 'Sorry, you are forbidden from accessing this page.',
24 24
   }[props.status]
25 25
 })
26
-
27
-const back = () => {
28
-  window.history.back()
29
-}
30 26
 </script>
31 27
 
32 28
 <template>
@@ -57,7 +53,7 @@ const back = () => {
57 53
             <span class="text-600 text-center">{{ description }}</span>
58 54
             <div class="col-12 mt-5 text-center">
59 55
               <i class="pi pi-fw pi-arrow-left text-blue-500 mr-2" style="vertical-align: center"></i>
60
-              <Link href="#" class="text-blue-500" @click="back">Kembali ke Dashboard</Link>
56
+              <Link href="/" class="text-blue-500">Kembali ke Dashboard</Link>
61 57
             </div>
62 58
           </div>
63 59
         </div>

+ 1
- 1
webpack.mix.js View File

@@ -15,7 +15,7 @@ mix
15 15
   .js('resources/js/vue.js', 'public/js')
16 16
   .webpackConfig(require('./webpack.config'))
17 17
   .vue()
18
-  .browserSync('http://bamslaundry.test/')
18
+  .browserSync('http://bambslaundry.test/')
19 19
   .disableNotifications()
20 20
 
21 21
 if (mix.inProduction()) {