debug app root
This commit is contained in:
parent
f97a68b129
commit
e21624368f
@ -156,6 +156,8 @@ export default class Application {
|
|||||||
app_root = app_root.slice(7)
|
app_root = app_root.slice(7)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('app path', {parts, app_root})
|
||||||
|
|
||||||
const resolved = path.resolve(app_root, ...parts)
|
const resolved = path.resolve(app_root, ...parts)
|
||||||
if ( resolved.startsWith('/') ) {
|
if ( resolved.startsWith('/') ) {
|
||||||
return `file://${resolved}`
|
return `file://${resolved}`
|
||||||
|
Loading…
Reference in New Issue
Block a user