You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
1.2 KiB

3 years ago
//var global_config = {
export const ApiConfig = {
'url_80' : 'https://api.swarmlab.io', // webclient
'url_443' : 'https://api.swarmlab.io', // webclient
/* config for swarmlab ide */
'wsedithttp' : 'https://', // web collaborator editor site http h https ://'wseditsite':8091/clients/swarmlab-ide.html'
'wseditsite' : 'ide.swarmlab.io', // web collaborator editor site http://'wseditsite':8091/clients/swarmlab-ide.html' same as above but for wss
'wseditprotocol' : 'https', // web collaborator protocol for apiserver, log, loggateway, chat, editsrc
'swarmlabapiserver' : 'api.swarmlab.io', // wss api server passing as argument, same as url_80,url_443
'wseditsrc' : 'ide.swarmlab.io', // web collaborator editor passing as argument
'wslog' : 'ide-debug.swarmlab.io',// debug log(9080) for collaborator editor passing as argument
'wsloggateway' : 'ide-debug.swarmlab.io',// debug log(9088) gateway for collaborator editor passing as argument
'wschat' : 'ide-chat.swarmlab.io' // chat for collaborator editor passing as argument
};