forked from Helias/Keira2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js.dist
33 lines (26 loc) · 964 Bytes
/
config.js.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*jslint browser: true, white: true, plusplus: true*/
/*global angular, console, alert*/
(function () {
'use strict';
var app = angular.module('keira2');
/* Edit with path of TC-JSON-API */
app.defaultAPI = "../TC-JSON-API/public/index.php/";
/* Edit with default version of Keira2
* Values:
* - "3.3.5"
* - "6.x"
*/
app.defaultVersion = "3.3.5";
/* [OPTIONAL] Multiple API instances
*
* If you have one separated instance TC-JSON-API for each game version
* you can specify them by un-commenting and setting properly the following variables
*
* WARNING: un-comment the lines below *ONLY* if you are going to set *BOTH OF THEM* properly
* if you just want to use Keira2 for one game version only, do *NOT* touch the lines below
*
*/
app.apiInstances = {};
//app.apiInstances['3.3.5'] = "../TC-JSON-API/public/index.php/";
//app.apiInstances['6.x'] = "../TC-JSON-API-6/public/index.php/";
}());