chore: use monorepo organization
This commit is contained in:
parent
deaf7d6ecc
commit
a687827f7e
1099 changed files with 8184 additions and 11535 deletions
9
packages/admin-ui/src/utils/urlResolver.js
Normal file
9
packages/admin-ui/src/utils/urlResolver.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const url = `https://${
|
||||
process.env.NODE_ENV === 'development'
|
||||
? window.location.host
|
||||
: window.location.hostname
|
||||
}`
|
||||
|
||||
const urlResolver = content => `${url}${content}`
|
||||
|
||||
export { urlResolver }
|
||||
Loading…
Add table
Add a link
Reference in a new issue