mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
7 lines
181 B
JavaScript
7 lines
181 B
JavaScript
export default {
|
|
join (...dirs) {
|
|
const url = new URL('../' + dirs.join('/'), import.meta.url)
|
|
return url.href.replace(/^file:\/\/\//, '').replace(/^file:\/\//, '')
|
|
}
|
|
}
|