Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Commit

Permalink
修复启动-开发环境.bat启动后无法启用vite
Browse files Browse the repository at this point in the history
  • Loading branch information
gozaoo committed Jul 10, 2023
1 parent c31d0dd commit 16b4777
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blurlyric/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var loadURL = 'http://localhost:18776/'
const server = await createServer({
// 任何合法的用户配置选项,加上 `mode` 和 `configFile`
configFile: path.join(__dirname, '../vite.config.js'),
root: __dirname,
root:path.join(__dirname, '../') ,
})

server.listen().then(()=>{
Expand Down
2 changes: 1 addition & 1 deletion util/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"anonymous_token": "bf8bfeabb1aa84f9c8c3906c04a04fb864322804c83f5d607e91a04eae463c9436bd1a17ec353cf7cba9c1659172cab32188c2956c945247993166e004087dd362abb7e805d601007bca06c5e8ddd12ec7650225309047105822cbe94f856496807e650dd04abd3fb8130b7ae43fcc5b",
"anonymous_token": "bf8bfeabb1aa84f9c8c3906c04a04fb864322804c83f5d607e91a04eae463c9436bd1a17ec353cf7cba9c1659172cab38865536f14f23940993166e004087dd335b2b3c34d17696f5b42e1b12b66bf65c7650225309047105822cbe94f856496807e650dd04abd3fb8130b7ae43fcc5b",
"resourceTypeMap": {
"0": "R_SO_4_",
"1": "R_MV_5_",
Expand Down
2 changes: 1 addition & 1 deletion 启动-开发环境.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
@REM set ENABLE_FLAC=true
set ENABLE_LOCAL_VIP=true
set MIGU_COOKIE="migu_cn_cookie_id=a610d27a-60ad-4550-9ddd-4d6eb99890c3; mg_uem_user_id_4124BC0A9335C27F086F24BA207A4912=7DFxts-LVYKS0wfNspYrfvfvthBzEdr81662197557675; mg_uem_session_id_4124BC0A9335C27F086F24BA207A4912=O0xu6wiDyAfQ7x7_OF9DHXFJqurbumCP1662197557675; mg_uem_user_id_9fbe6599400e43a4a58700a822fd57f8=45b5fa18-bf5f-45c3-a5da-3a9f463bd28b; cookieId=DwXnuPxAoAO08w20Z5QXymxlcUgg9dg1662197558098; WT_FPC=id=2e5a396135b40c7baa51662197558133:lv=1662197558133:ss=1662197558133"
node ./blurlyric/onlyonweb
node ./blurlyric/dev
goto start
pasue

0 comments on commit 16b4777

Please sign in to comment.