From a73a613bdae281110e550cae6230b4664af7781c Mon Sep 17 00:00:00 2001 From: zhanghao <774378400@qq.com> Date: Mon, 29 Jun 2026 17:27:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0resolve?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/index.js b/server/index.js index b87a663..e75f8de 100644 --- a/server/index.js +++ b/server/index.js @@ -3,9 +3,9 @@ import express from 'express' import cors from 'cors' import grpc from '@grpc/grpc-js' import protoLoader from '@grpc/proto-loader' -import path from 'path' -import { fileURLToPath } from 'url' -import 'dotenv/config'; +import { resolve } from 'path'; +import { fileURLToPath } from 'url'; +import 'dotenv/config'; const __filename = fileURLToPath(import.meta.url) const __dirname = path.dirname(__filename)