diff --git a/sample-apps/client/ts-quickstart/package.json b/sample-apps/client/ts-quickstart/package.json index c891f09c33..1f5102b21f 100644 --- a/sample-apps/client/ts-quickstart/package.json +++ b/sample-apps/client/ts-quickstart/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite --host 0.0.0.0", + "dev": "vite --host 0.0.0.0 --https", "build": "tsc && vite build", "preview": "vite preview" }, @@ -13,6 +13,7 @@ "js-base64": "^3.7.5" }, "devDependencies": { + "@vitejs/plugin-basic-ssl": "^1.0.1", "typescript": "^5.0.2", "vite": "^4.4.9" } diff --git a/sample-apps/client/ts-quickstart/vite.config.ts b/sample-apps/client/ts-quickstart/vite.config.ts new file mode 100644 index 0000000000..49b440d77b --- /dev/null +++ b/sample-apps/client/ts-quickstart/vite.config.ts @@ -0,0 +1,5 @@ +import basicSsl from '@vitejs/plugin-basic-ssl'; + +export default { + plugins: [basicSsl()], +}; diff --git a/yarn.lock b/yarn.lock index c2fbcb5adf..8f9638f4d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8209,6 +8209,15 @@ __metadata: languageName: node linkType: hard +"@vitejs/plugin-basic-ssl@npm:^1.0.1": + version: 1.0.1 + resolution: "@vitejs/plugin-basic-ssl@npm:1.0.1" + peerDependencies: + vite: ^3.0.0 || ^4.0.0 + checksum: 9060dd9b02b51f48f9e655d920214879157db5b8bea9681465ab199e1be4f207cc968393410f93935a0443f8c2b302cef2a3ac0a69087af68fb33a8795e1e203 + languageName: node + linkType: hard + "@vitejs/plugin-react@npm:^2.0.0": version: 2.2.0 resolution: "@vitejs/plugin-react@npm:2.2.0" @@ -26388,6 +26397,7 @@ __metadata: resolution: "ts-quickstart@workspace:sample-apps/client/ts-quickstart" dependencies: "@stream-io/video-client": "workspace:^" + "@vitejs/plugin-basic-ssl": ^1.0.1 js-base64: ^3.7.5 typescript: ^5.0.2 vite: ^4.4.9