debug app root

This commit is contained in:
Garrett Mills 2020-09-05 10:35:08 -05:00
parent f97a68b129
commit e21624368f
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246

View File

@ -156,6 +156,8 @@ export default class Application {
app_root = app_root.slice(7)
}
console.log('app path', {parts, app_root})
const resolved = path.resolve(app_root, ...parts)
if ( resolved.startsWith('/') ) {
return `file://${resolved}`