Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
TarsWeb
Commits
fe7a4b31
Commit
fe7a4b31
authored
6 years ago
by
combineli
Browse files
Options
Download
Email Patches
Plain Diff
commit app.js
parent
fdc85b00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app.js
+2
-2
app.js
with
2 additions
and
2 deletions
+2
-2
app.js
+
2
-
2
View file @
fe7a4b31
...
...
@@ -78,8 +78,8 @@ if (dcacheConf.enableDcache) {
// tars-dcache 的包,依赖了很多tars的模块,引用路径是从根目录开始的,防止引用出错,先改后更
let
cwd
=
process
.
cwd
();
process
.
chdir
(
'
./
'
);
//
let tarsDcache = require('./../tars-dcache');
let
tarsDcache
=
require
(
'
@tencent/tars-dcache
'
);
let
tarsDcache
=
require
(
'
./../tars-dcache
'
);
//
let tarsDcache = require('@tencent/tars-dcache');
process
.
chdir
(
cwd
);
}
else
{
app
.
use
(
async
(
ctx
,
next
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment