migrate the app from api.. to web..

This commit is contained in:
or-else
2019-08-22 10:46:14 +03:00
parent 503c9128d4
commit a6bc2a1f8f
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
import { PACKAGE_VERSION } from './version.js';
// Name of this application, used in the User-Agent.
export const APP_NAME = 'TinodeWeb/' + (PACKAGE_VERSION || '0.15');
export const APP_NAME = 'TinodeWeb/' + (PACKAGE_VERSION || '0.16');
// API key. Use https://github.com/tinode/chat/tree/master/keygen to generate your own
export const API_KEY = 'AQEAAAABAAD_rAp4DJh05a1HAwFT3A6K';
// The array of possible hosts to connect to.
export const KNOWN_HOSTS = {hosted: 'api.tinode.co', local: 'localhost:6060'};
export const KNOWN_HOSTS = {hosted: 'web.tinode.co', local: 'localhost:6060'};
// Default host name and port to connect to.
export const DEFAULT_HOST = KNOWN_HOSTS.hosted;