This commit is contained in:
burakovec
2025-07-17 15:08:14 +03:00
parent 7349f1b5fa
commit 85fe0fb6ba
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="icon" type="image/png" href="/mpi-fav.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MPİ KNOP Panel</title>

View File

@ -2,7 +2,7 @@ import axios from 'axios'
import { useUsersStore } from '@/stores/usersStore'
import router from '@/router'
axios.defaults.baseURL = 'https://panel.cekilisevi.gov.tr:5001/'
axios.defaults.baseURL = 'https://panelapi.cekilisevi.gov.tr/'
//axios.defaults.timeout = 2000;
axios.defaults.headers['Content-Type'] = 'application/json; charset=utf-8'
import { useDataStore } from '@/stores/dataStore'

View File

@ -6,7 +6,7 @@ let connectionId = "";
export const connectToHub = async () => {
connection = new signalR.HubConnectionBuilder()
.withUrl("https://panel.cekilisevi.gov.tr:5001/uploadHub", {
.withUrl("https://panelapi.cekilisevi.gov.tr/uploadHub", {
withCredentials: false // Bu zorunlu, yoksa cookie vs gönderilmez
}) // backend adresine göre düzenle
.withAutomaticReconnect()

View File

@ -8,7 +8,7 @@ export const useDataStore = defineStore('dataStore', () => {
const globalDataStore = useGlobalDataStore()
const toastStore = useToastStore()
const siteBase = ref<string>('https://panel.cekilisevi.gov.tr:5001/')
const siteBase = ref<string>('https://panelapi.cekilisevi.gov.tr/')
const apiBase = ref<string>('api/')
const panelData = reactive<Record<string, any>>({})
const pageData = reactive<Record<string, any>>({})