fix(ssr): file path
This commit is contained in:
parent
81c87f7926
commit
79a83bc17d
2 changed files with 3 additions and 2 deletions
|
|
@ -36,7 +36,7 @@ export function getPath (...args) {
|
|||
}
|
||||
|
||||
export const isAbsolutePath = cached(path => {
|
||||
return /(:|(\/{2}))/.test(path)
|
||||
return /(:|(\/{2}))/g.test(path)
|
||||
})
|
||||
|
||||
export const getParentPath = cached(path => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue