stock.exdev.co.kr로 접속 url 변경

This commit is contained in:
Macbook
2026-06-17 10:00:34 +09:00
parent 58cf1e1ec7
commit 37533764ee
46 changed files with 354 additions and 75 deletions
+1 -1
View File
@@ -1 +1 @@
VITE_API_BASE_URL=http://exdev.co.kr/api
VITE_API_BASE_URL=https://stock.exdev.co.kr/api
+1 -1
View File
@@ -8,7 +8,7 @@
<dict>
<key>NSExceptionDomains</key>
<dict>
<key>exdev.co.kr</key>
<key>stock.exdev.co.kr</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
+2 -2
View File
@@ -35,10 +35,10 @@
{
"identifier": "http:default",
"allow": [
{ "url": "http://exdev.co.kr/**" },
{ "url": "https://stock.exdev.co.kr/**" },
{ "url": "http://localhost:8080/**" },
{ "url": "http://127.0.0.1:8080/**" },
{ "url": "https://exdev.co.kr/**" },
{ "url": "https://stock.exdev.co.kr/**" },
{ "url": "https://api.upbit.com/**" }
]
}
+3 -3
View File
@@ -25,7 +25,7 @@
}
],
"security": {
"csp": "default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; connect-src 'self' http://localhost:8080 http://127.0.0.1:8080 http://exdev.co.kr https://exdev.co.kr ws://exdev.co.kr wss://exdev.co.kr ws://localhost:8080 https://api.upbit.com wss://api.upbit.com https://fonts.googleapis.com https://fonts.gstatic.com; img-src 'self' data: blob: https:; font-src 'self' data: https://fonts.gstatic.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;"
"csp": "default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob:; connect-src 'self' http://localhost:8080 http://127.0.0.1:8080 https://stock.exdev.co.kr wss://stock.exdev.co.kr ws://localhost:8080 https://api.upbit.com wss://api.upbit.com https://fonts.googleapis.com https://fonts.gstatic.com; img-src 'self' data: blob: https:; font-src 'self' data: https://fonts.gstatic.com; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com;"
},
"trayIcon": {
"iconPath": "icons/icon.png",
@@ -44,7 +44,7 @@
"icons/icon.ico"
],
"macOS": {
"exceptionDomain": "exdev.co.kr",
"exceptionDomain": "stock.exdev.co.kr",
"infoPlist": "Info.plist",
"signingIdentity": "-",
"entitlements": "./Entitlements.plist"
@@ -58,7 +58,7 @@
"plugins": {
"updater": {
"endpoints": [
"https://exdev.co.kr/desktop/updates/latest.json"
"https://stock.exdev.co.kr/desktop/updates/latest.json"
],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDg3MUJCMjIyRkIyNzdFMUUKUldRZWZpZjdJckliaDlMS3pvRHpmQ2lnSFNjaDQrT1pEZTdDZEJ5S2RhOXV5aU1QY3JObEEwaFUK",
"windows": {
+2 -2
View File
@@ -149,8 +149,8 @@ async function formatUpdateError(e: unknown): Promise<string> {
if (!msg.trim()) return '업데이트 확인에 실패했습니다.';
if (/unexpected end of json|eof|empty|content-length.*0|^$/.test(lower) && msg.trim().length < 80) {
return onMac
? '서버 latest.json 이 비어 있습니다. PC 프로그램 탭에서 dmg를 받아 다시 설치해 주세요. (관리자: Desktop Jenkins publish 필요)'
: '서버 latest.json 이 비어 있습니다. PC 프로그램 탭에서 exe를 받아 다시 설치해 주세요. (관리자: Desktop Jenkins publish 필요)';
? '서버 latest.json 이 비어 있습니다. HTTPS(Caddy) 역프록시가 본문 없이 200을 반환하는 경우가 많습니다. 관리자에게 Caddy→gc-frontend:80 설정 점검을 요청하거나, PC 프로그램 탭에서 dmg를 받아 다시 설치해 주세요.'
: '서버 latest.json 이 비어 있습니다. HTTPS(Caddy) 역프록시가 본문 없이 200을 반환하는 경우가 많습니다. 관리자에게 Caddy→gc-frontend:80 설정 점검을 요청하거나, PC 프로그램 탭에서 exe를 받아 다시 설치해 주세요.';
}
if (/could not fetch a valid release json|release not found/.test(lower)) {
return onMac
+1 -1
View File
@@ -47,7 +47,7 @@ export default defineConfig({
define: {
global: 'globalThis',
/** desktop은 항상 exdev 서버 (localhost 금지) */
'import.meta.env.VITE_API_BASE_URL': JSON.stringify('http://exdev.co.kr/api'),
'import.meta.env.VITE_API_BASE_URL': JSON.stringify('https://stock.exdev.co.kr/api'),
__DESKTOP_CLIENT__: 'true',
__DESKTOP_APP_VERSION__: JSON.stringify(readDesktopAppVersion()),
},