Skip to content

Commit

Permalink
fix logout link
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Jan 8, 2019
1 parent ceee1e3 commit 21307f7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=68fd17b668533a1647cd",
"/app.js": "/app.js?id=805ba942ea6e4c13438b",
"/light.css": "/light.css?id=8e89114957501a2a2ff8",
"/dark.css": "/dark.css?id=9b71aa0a7c48cd60e734",
"/favicon.png": "/favicon.png?id=b0b34b4095fcdbb8942d"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default {
break;

case 401:
window.location.href = '/wink/logout';
window.location.href = '/' + Wink.path + '/logout';
break;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/PageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<router-link to="/team" class="no-underline text-text-color hover:text-primary w-full block py-2 px-4">
Team
</router-link>
<a href="/logout" class="no-underline text-text-color hover:text-primary w-full block py-2 px-4 border-t border-very-light">
<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">
Log out
</a>
</div>
Expand Down

0 comments on commit 21307f7

Please sign in to comment.