Code & Deploy
siGit Code
Git Hosting
Toggle menu
siGit Code
Git Hosting
Sign in
Sign in
@davoodmehraban89
/
medusa
Fork
0
medusa
/
www
/
apps
/
user-guide
/
utils
/
base-path-url.ts
Code
Commits
Issues
Pulls
Cloud Agent
CICD
security/codeql-dependabot-gitleaks
automation/medusa-upstream-review
main
project/medusa-foundation-audit
security/codeql-dependabot-gitleaks
ts
5 lines
160 Bytes
Copy permalink
Copy
Raw
1
import
{
getLinkWithBasePath
}
from
"
docs-ui
"
2
3
export
function
basePathUrl
(
path
=
""
)
{
4
return
getLinkWithBasePath
(
path
,
process
.
env
.
NEXT_PUBLIC_BASE_PATH
)
5
}