panle ceklilis
This commit is contained in:
@ -2,9 +2,7 @@ import axios from 'axios'
|
||||
import { useUsersStore } from '@/stores/usersStore'
|
||||
import router from '@/router'
|
||||
|
||||
// axios.defaults.baseURL = 'http://panel.cekilisevi.gov.tr:5001/'
|
||||
axios.defaults.baseURL = 'https://mpiapi.beyaz.net/'
|
||||
// axios.defaults.baseURL = 'https://localhost:7241/'
|
||||
axios.defaults.baseURL = 'https://panel.cekilisevi.gov.tr:5001/'
|
||||
//axios.defaults.timeout = 2000;
|
||||
axios.defaults.headers['Content-Type'] = 'application/json; charset=utf-8'
|
||||
import { useDataStore } from '@/stores/dataStore'
|
||||
|
||||
@ -6,7 +6,7 @@ let connectionId = "";
|
||||
|
||||
export const connectToHub = async () => {
|
||||
connection = new signalR.HubConnectionBuilder()
|
||||
.withUrl("https://mpiapi.beyaz.net/uploadHub", {
|
||||
.withUrl("https://panel.cekilisevi.gov.tr:5001/uploadHub", {
|
||||
withCredentials: false // Bu zorunlu, yoksa cookie vs gönderilmez
|
||||
}) // backend adresine göre düzenle
|
||||
.withAutomaticReconnect()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import PopupYonetimi from "../views/PopupYonetimi.vue";
|
||||
import PopupYonetimi from '../views/PopupYonetimi.vue';
|
||||
|
||||
export default {
|
||||
path: '/site-yonetimi/popup-yonetimi/:popupId',
|
||||
|
||||
@ -27,6 +27,9 @@
|
||||
<form-input
|
||||
v-model='panelPopup.baslik'
|
||||
label='Başlık' />
|
||||
<form-input
|
||||
v-model='panelPopup.url'
|
||||
label='Url' />
|
||||
<form-file
|
||||
v-model='panelPopup.resimUrl'
|
||||
label='Resim Url'
|
||||
@ -85,8 +88,11 @@
|
||||
},
|
||||
{
|
||||
name: 'resimUrl',
|
||||
title: 'Resim Url',
|
||||
sort: true
|
||||
title: 'Resim Url'
|
||||
},
|
||||
{
|
||||
name: 'url',
|
||||
title: 'Url'
|
||||
},
|
||||
{
|
||||
name: 'durum',
|
||||
@ -113,6 +119,7 @@
|
||||
panelPopup.value = {
|
||||
baslik: '',
|
||||
resimUrl: '',
|
||||
url:'',
|
||||
durum: false
|
||||
}
|
||||
panel.value = true
|
||||
|
||||
@ -8,7 +8,7 @@ export const useDataStore = defineStore('dataStore', () => {
|
||||
const globalDataStore = useGlobalDataStore()
|
||||
const toastStore = useToastStore()
|
||||
|
||||
const siteBase = ref<string>('https://mpiapi.beyaz.net/')
|
||||
const siteBase = ref<string>('https://panel.cekilisevi.gov.tr:5001/')
|
||||
const apiBase = ref<string>('api/')
|
||||
const panelData = reactive<Record<string, any>>({})
|
||||
const pageData = reactive<Record<string, any>>({})
|
||||
|
||||
Reference in New Issue
Block a user