mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[API URL] Added api url to .env
This commit is contained in:
1 parent
876a67604d
commit
032f045854
4 files changed
+6
-6
No files matched your search
@@ -1 +1 @@
|
||||
VUE_APP_WAXIOS_URL=https://fill-later.sk/api/
|
||||
VUE_APP_WAXIOS_URL=https://taskmanager.internal.studiotem.com/be/api/
|
||||
@@ -66,7 +66,7 @@ const options: Options = {
|
||||
'GET v1/teams/(id)': true,
|
||||
'POST v1/teams/(id)': true,
|
||||
'DELETE v1/teams/(id)': true,
|
||||
'GET v1/teams': false,
|
||||
// 'GET v1/teams': true,
|
||||
'POST v1/teams': true,
|
||||
|
||||
'GET v1/employees': true,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<A-sidemenu ref="sidemenu" />
|
||||
|
||||
<v-app @click="eventBus.emit('close-menu')" class="split-pane-right-side">
|
||||
<A-header />
|
||||
<!-- <A-header /> -->
|
||||
|
||||
<div class="main-content">
|
||||
<router-view id="main-content" />
|
||||
@@ -19,7 +19,7 @@ import AHeader from './_components/a-header.vue'
|
||||
export default {
|
||||
components: {
|
||||
ASidemenu,
|
||||
AHeader
|
||||
// AHeader
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -40,7 +40,7 @@ export default {
|
||||
width: 100vw
|
||||
max-width: 100vw
|
||||
display: flex
|
||||
flex-direction: column
|
||||
flex-direction: column
|
||||
|
||||
@media (min-width: 992px)
|
||||
.split-pane-right-side
|
||||
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
|
||||
async created() {
|
||||
try {
|
||||
this.teams = await this.$axios.get_auth_data('http://127.0.0.1:8000/api/v1/teams')
|
||||
this.teams = await this.$axios.get_auth_data('v1/teams')
|
||||
} catch (error) {
|
||||
this.teams = {error}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user