FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
mcjava-wiki/src/theme-options.ts at main · mcjava-wiki/mcjava-wiki · GitHub
mcjava-wiki
mcjava-wiki
Repository navigation
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
mcjava-wiki
/
src
/
theme-options.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
8 lines (7 loc) · 292 Bytes
Breadcrumbs
mcjava-wiki
/
src
/
theme-options.ts
Copy path
File metadata and controls
8 lines (7 loc) · 292 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
function
getSiteUrl
(
themeOptions
:
{
siteUrl
:
any
}
)
{
if
(
process
.
env
.
NETLIFY
!==
'true'
)
return
themeOptions
.
siteUrl
||
'http://localhost:8000/'
if
(
process
.
env
.
CONTEXT
===
'production'
)
return
process
.
env
.
URL
return
process
.
env
.
DEPLOY_PRIME_URL
}
exports
.
getSiteUrl
=
getSiteUrl
Back
|
FazBrowse Home
|
New Git URL