mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
Add DOCKERFILE
This commit is contained in:
parent
e86526761c
commit
a53799d441
3 changed files with 72 additions and 23 deletions
|
@ -4,28 +4,6 @@ import getCurrentSession from './services/authentication';
|
|||
import { updateToken } from './services/axios';
|
||||
</script>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
currentSession: "",
|
||||
}
|
||||
},
|
||||
created() {
|
||||
if (!this.getCurrentSession()) {
|
||||
this.$router.push({ path: "/login" });
|
||||
} else {
|
||||
updateToken()
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
linkTo() {
|
||||
return "/profile/" + this.getCurrentSession();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
<!--<header class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue