Skip to content

Commit aa68762

Browse files
committed
fix(main): import config in build
1 parent dd455cf commit aa68762

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

src/main/services/api/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { store } from '../../store'
33
import type { Server } from 'http'
44
import type { Socket } from 'net'
55
import { nanoid } from 'nanoid'
6-
import { API_PORT } from '../../../config'
6+
import { API_PORT } from '../../config'
77
interface ServerWithDestroy extends Server {
88
destroy: Function
99
}

src/renderer/composable/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createFetch } from '@vueuse/core'
22
import mitt from 'mitt'
33
import type { Events } from './types'
4-
import { API_PORT } from '../../config'
4+
import { API_PORT } from '../../main/config'
55

66
export const useApi = createFetch({
77
baseUrl: `http://localhost:${API_PORT}`

0 commit comments

Comments
 (0)