Skip to content

Commit 21307f7

Browse files
committed
fix logout link
1 parent ceee1e3 commit 21307f7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

public/app.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"/app.js": "/app.js?id=68fd17b668533a1647cd",
2+
"/app.js": "/app.js?id=805ba942ea6e4c13438b",
33
"/light.css": "/light.css?id=8e89114957501a2a2ff8",
44
"/dark.css": "/dark.css?id=9b71aa0a7c48cd60e734",
55
"/favicon.png": "/favicon.png?id=b0b34b4095fcdbb8942d"

resources/js/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export default {
8383
break;
8484

8585
case 401:
86-
window.location.href = '/wink/logout';
86+
window.location.href = '/' + Wink.path + '/logout';
8787
break;
8888
}
8989

resources/js/components/PageHeader.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<router-link to="/team" class="no-underline text-text-color hover:text-primary w-full block py-2 px-4">
5050
Team
5151
</router-link>
52-
<a href="/logout" class="no-underline text-text-color hover:text-primary w-full block py-2 px-4 border-t border-very-light">
52+
<a :href="'/'+Wink.path+'/logout'" class="no-underline text-text-color hover:text-primary w-full block py-2 px-4 border-t border-very-light">
5353
Log out
5454
</a>
5555
</div>

0 commit comments

Comments
 (0)