@knowlearning/agents 0.9.166 → 0.9.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agents/browser/root.js +2 -2
- package/package.json +1 -1
package/agents/browser/root.js
CHANGED
|
@@ -6,9 +6,9 @@ import GenericAgent from '../generic/index.js'
|
|
|
6
6
|
const TEST_DOMAIN = 'tests.knowlearning.systems'
|
|
7
7
|
const LANGUAGES = [...navigator.languages]
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const API_HOST = localStorage.getItem('API_HOST') || 'api.knowlearning.systems'
|
|
10
10
|
// const API_HOST = 'api-test.knowlearning.systems'
|
|
11
|
-
|
|
11
|
+
//const API_HOST = 'localhost:8765'
|
|
12
12
|
|
|
13
13
|
// TODO: remove this hack when we can set partitioned sid cookie through websocket handshake
|
|
14
14
|
// deno is partly in the way on teh set side, and browser support is in the way for
|