mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 05:28:13 +00:00
poprawki uwierzytelniania
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
VITE_API_URL="https://spythere.pl"
|
VITE_API_URL="https://spythere.pl"
|
||||||
VITE_API_URL_DEV="http://localhost:3000"
|
VITE_API_URL_DEV="http://localhost:3001"
|
||||||
VITE_API_DEV=1
|
VITE_API_DEV=1
|
||||||
@@ -74,7 +74,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import axios from 'axios';
|
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import routesMixin from '../mixins/routesMixin';
|
import routesMixin from '../mixins/routesMixin';
|
||||||
import { useStore } from '../store';
|
import { useStore } from '../store';
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ export const useStore = defineStore('store', {
|
|||||||
'/manager/updateSceneryList',
|
'/manager/updateSceneryList',
|
||||||
{
|
{
|
||||||
changeList: mappedChangeList,
|
changeList: mappedChangeList,
|
||||||
token: this.token,
|
|
||||||
notify: this.notifyDiscord,
|
notify: this.notifyDiscord,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,10 +21,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import axios from 'axios';
|
|
||||||
import { defineComponent } from 'vue';
|
import { defineComponent } from 'vue';
|
||||||
import { useStore } from '../store';
|
import { useStore } from '../store';
|
||||||
import { AuthState, ILoginResponse } from '../types/types';
|
import { AuthState } from '../types/types';
|
||||||
|
|
||||||
enum LoginState {
|
enum LoginState {
|
||||||
INITIALIZED = 0,
|
INITIALIZED = 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user