small t
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
export default class GetTwilioAccessTokenRequest {
|
||||||
|
constructor(public roomName: string, public roomType: 'webrtc-go' | 'p2p-group' | 'group-room') {}
|
||||||
|
}
|
||||||
@@ -46,6 +46,8 @@
|
|||||||
[
|
[
|
||||||
"@electron-forge/plugin-webpack",
|
"@electron-forge/plugin-webpack",
|
||||||
{
|
{
|
||||||
|
"port": "4005",
|
||||||
|
"loggerPort": "9005",
|
||||||
"devContentSecurityPolicy": "default-src * self blob: data: gap:; style-src * self 'unsafe-inline' blob: data: gap:; script-src * 'self' 'unsafe-eval' 'unsafe-inline' blob: data: gap:; object-src * 'self' blob: data: gap:; img-src * self 'unsafe-inline' blob: data: gap:; connect-src self * 'unsafe-inline' blob: data: gap:; frame-src * self blob: data: gap:;",
|
"devContentSecurityPolicy": "default-src * self blob: data: gap:; style-src * self 'unsafe-inline' blob: data: gap:; script-src * 'self' 'unsafe-eval' 'unsafe-inline' blob: data: gap:; object-src * 'self' blob: data: gap:; img-src * self 'unsafe-inline' blob: data: gap:; connect-src self * 'unsafe-inline' blob: data: gap:; frame-src * self blob: data: gap:;",
|
||||||
"mainConfig": "./webpack.main.config.js",
|
"mainConfig": "./webpack.main.config.js",
|
||||||
"renderer": {
|
"renderer": {
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
import { getFunctions, httpsCallable } from 'firebase/functions';
|
import { getFunctions, httpsCallable } from 'firebase/functions';
|
||||||
|
|
||||||
import TwilioAccessToken from '@nirvana/core/src/functions/response/TwilioAccessToken.response';
|
|
||||||
|
|
||||||
const functions = getFunctions();
|
const functions = getFunctions();
|
||||||
|
|
||||||
export const getTwilioAccessToken = httpsCallable(functions, 'getStreamToken');
|
export const getTwilioAccessToken = httpsCallable(functions, 'getStreamToken');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { app, BrowserWindow, ipcMain, Display, screen, systemPreferences } from 'electron';
|
import { BrowserWindow, Display, app, ipcMain, screen, systemPreferences } from 'electron';
|
||||||
|
|
||||||
import Channels, { DEFAULT_APP_PRESET, DimensionChangeRequest } from './electron/constants';
|
import Channels, { DEFAULT_APP_PRESET, DimensionChangeRequest } from './electron/constants';
|
||||||
|
|
||||||
import { handleGoogleLogin } from './electron/handleLogin';
|
import { handleGoogleLogin } from './electron/handleLogin';
|
||||||
import store from './electron/store';
|
import store from './electron/store';
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
export default class GetTwilioAccessTokenRequest {
|
||||||
|
constructor(public roomName: string, public roomType: 'webrtc-go' | 'p2p-group' | 'group-room') {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user