mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-21 22:27:11 +00:00
Fix issue with env.ts
This commit is contained in:
parent
7cb650dbd3
commit
300a8467c8
|
@ -7,7 +7,9 @@ export const externalHost = isBrowser()
|
|||
? `${window.location.hostname}${
|
||||
['1234', '1235'].includes(window.location.port)
|
||||
? ':8536'
|
||||
: window.location.port
|
||||
: window.location.port == ''
|
||||
? ''
|
||||
: `:${window.location.port}`
|
||||
}`
|
||||
: process.env.LEMMY_EXTERNAL_HOST || testHost;
|
||||
|
||||
|
|
Loading…
Reference in a new issue