summaryrefslogtreecommitdiff
path: root/gui/providers
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-08 02:23:18 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-08 19:58:25 +0200
commite591c3147e3c504611ff612e8918018125ffa2eb (patch)
treed4004f33ddc2c7f9f70d95d0244b93ac27b9eb76 /gui/providers
parentc2871f4aece61b939e0e6c8d7a94677fb055620a (diff)
[bug] pass json as bytes to go side
Diffstat (limited to 'gui/providers')
-rw-r--r--gui/providers/providers.json24
1 files changed, 20 insertions, 4 deletions
diff --git a/gui/providers/providers.json b/gui/providers/providers.json
index 7ba0ef9..f0132f5 100644
--- a/gui/providers/providers.json
+++ b/gui/providers/providers.json
@@ -1,4 +1,20 @@
-[
- {"name": "provider1", "url": "https://example.com"},
- {"name": "provider2", "url": "https://foobar.com"}
-]
+{
+ "default": "demolib",
+ "providers": [
+ {
+ "name": "demolib",
+ "applicationName": "DemoLib",
+ "binaryName": "demo-lib",
+ "auth": "sip",
+ "providerURL": "vpnlib.bitmask.net",
+ "tosURL": "https://libraryvpn.org/",
+ "helpURL": "https://libraryvpn.org/",
+ "askForDonations": "false",
+ "donateURL": "",
+ "apiURL": "https://api.vpnlib.bitmask.net:4430/",
+ "geolocationAPI": "https://getmyip.vpnlib.bitmask.net/json",
+ "caCertString": "-----BEGIN CERTIFICATE-----\nMIIBQzCB6aADAgECAgEBMAoGCCqGSM49BAMCMBcxFTATBgNVBAMTDExFQVAgUm9v\ndCBDQTAeFw0yMDA4MDYxOTA3NDRaFw0yNTA4MDYxOTEyNDRaMBcxFTATBgNVBAMT\nDExFQVAgUm9vdCBDQTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABIG5POr4cAdK\nkTavKpSJr8nW1V7HLpr27qKaShpk1TUy5ipaAlusmavGLxKsPE+i3AMlvf/f6ch3\n1MjAtIf5rYujJjAkMA4GA1UdDwEB/wQEAwICpDASBgNVHRMBAf8ECDAGAQH/AgEB\nMAoGCCqGSM49BAMCA0kAMEYCIQDXj280LNZbSbi0Y2WvtQrJBUw4wdm8qAeOeuH7\n6XiLEwIhAPBRsmst/ujcChsG2t6LpG+p8s4rfIfh8YLo/4qrcc5p\n-----END CERTIFICATE-----",
+ "timeStamp": "2020-09-08 01:01:08"
+ }
+ ]
+} \ No newline at end of file