mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
11 lines
213 B
JavaScript
11 lines
213 B
JavaScript
const path = require('path')
|
|
|
|
// 该文件位于 src/utils 下,向上两级即项目根目录。
|
|
function getProjectRoot() {
|
|
return path.resolve(__dirname, '..', '..')
|
|
}
|
|
|
|
module.exports = {
|
|
getProjectRoot
|
|
}
|