Browse Source

fix logout

Petr 4 years ago
parent
commit
95b1790a2e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/views/homeList.blade.php

+ 2 - 2
resources/views/homeList.blade.php

@@ -7,9 +7,9 @@
 
 @section('content')
     <div class="flex-row">
-        <form method="POST" action="http://127.0.0.1:4000/logout" class="inline-flex">
+        <form method="POST" action="/logout" class="inline-flex">
             @csrf
-            <button class="btn-primary" href="http://127.0.0.1:4000/logout" onclick="event.preventDefault();
+            <button class="btn-primary" href="/logout" onclick="event.preventDefault();
                                                 this.closest('form').submit();">
                 Logout
             </button>