Libraryless. Click here for Pure Java version (4132L/24K).
1 | sS tb_mainServer_default = "https://code.botcompany.de:9898"; |
2 | static O tb_mainServer_override; // func -> S |
3 | |
4 | static S tb_mainServer() {
|
5 | if (tb_mainServer_override != null) ret (S) callF(tb_mainServer_override); |
6 | ret trim(loadTextFile(tb_mainServer_file(), |
7 | tb_mainServer_default)); |
8 | } |
9 | |
10 | static File tb_mainServer_file() {
|
11 | ret getProgramFile(#1001638, "mainserver.txt"); |
12 | } |
13 | |
14 | static bool tb_mainServer_isDefault() {
|
15 | ret eq(tb_mainServer(), tb_mainServer_default); |
16 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010028 |
| Snippet name: | tb_mainServer - where snippets are loaded from. includes protocol, but no trailing slash |
| Eternal ID of this version: | #1010028/8 |
| Text MD5: | 9d64cc3fd6995dc07f972b944ab5c5e4 |
| Transpilation MD5: | 3cdae74fd8d14832c5010939e0e5597e |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-04 00:41:37 |
| Source code size: | 485 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1198 / 1484 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |