Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
a7604c63
Commit
a7604c63
authored
Nov 26, 2021
by
echicken
🐔
Browse files
Added UsingHAProxy() function to this here funclib dot js
parent
c1bebfc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
exec/load/ftelnethelper.js
exec/load/ftelnethelper.js
+5
-0
No files found.
exec/load/ftelnethelper.js
View file @
a7604c63
...
...
@@ -136,6 +136,11 @@ function UsingSecondRLoginName() {
return
(
FBBSOptions
.
indexOf
(
"
USE_2ND_RLOGIN
"
)
!==
-
1
);
}
function
UsingHAProxy
()
{
GetSBBSIniValues
();
return
(
FBBSOptions
.
indexOf
(
"
HAPROXY_PROTO
"
)
!==
-
1
);
}
function
GetInterface
(
i
)
{
if
([
''
,
'
0.0.0.0
'
,
'
::
'
].
indexOf
(
i
)
>
-
1
)
return
'
localhost
'
;
return
i
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment