mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
chore: 将部分通用变量移动到utils.ts
This commit is contained in:
parent
78ba547138
commit
48869266e4
10 changed files with 24 additions and 33 deletions
|
|
@ -11,9 +11,7 @@ import { app } from 'electron'
|
|||
import type { FetchAudioSourceResponse } from '@/shared/api/Track'
|
||||
import UNM from '@unblockneteasemusic/rust-napi'
|
||||
import { APIs as CacheAPIs } from '../shared/CacheAPIs'
|
||||
|
||||
const isDev = process.env.NODE_ENV === 'development'
|
||||
const isProd = process.env.NODE_ENV === 'production'
|
||||
import { isProd } from 'utils'
|
||||
|
||||
class Server {
|
||||
port = Number(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue