File tree 1 file changed +2
-5
lines changed
packages/docsify-server-renderer 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,6 @@ export default class Renderer {
62
62
return isAbsolutePath ( file ) ? file : cwd ( `./${ file } ` ) ;
63
63
}
64
64
65
- // CONTINUE:
66
- // - looking for why navbar renders "undefined" in linux
67
- // - split SSR tests and ESM improvements into two PRs (in that order)
68
- // - rebase on John's Vue stuff
69
-
70
65
/**
71
66
* @param {string } url
72
67
* @returns {Promise<string> }
@@ -167,6 +162,7 @@ export default class Renderer {
167
162
let content ;
168
163
try {
169
164
if ( isAbsolutePath ( filePath ) ) {
165
+ console . log ( 'ABSOLUTE PATH:' , filePath ) ;
170
166
const res = await fetch ( filePath ) ;
171
167
172
168
if ( ! res . ok ) {
@@ -188,6 +184,7 @@ export default class Renderer {
188
184
content = await res . text ( ) ;
189
185
this . lock = 0 ;
190
186
} else {
187
+ console . log ( 'RELATIVE PATH:' , filePath ) ;
191
188
content = await readFileSync ( filePath , 'utf8' ) ;
192
189
this . lock = 0 ;
193
190
}
You can’t perform that action at this time.
0 commit comments