Skip to content

Commit

Permalink
chore: restore https for client sample app (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz authored Aug 31, 2023
1 parent d03ce7a commit ee96e1e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sample-apps/client/ts-quickstart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -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"
}
Expand Down
5 changes: 5 additions & 0 deletions sample-apps/client/ts-quickstart/vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import basicSsl from '@vitejs/plugin-basic-ssl';

export default {
plugins: [basicSsl()],
};
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ee96e1e

Please sign in to comment.