-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-https.sh
More file actions
executable file
Β·29 lines (25 loc) Β· 973 Bytes
/
start-https.sh
File metadata and controls
executable file
Β·29 lines (25 loc) Β· 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
echo "π Starting Voice Input Chat with HTTPS..."
echo ""
# Check if node-forge is installed
if ! npm list node-forge > /dev/null 2>&1; then
echo "π¦ Installing required dependency..."
pnpm install node-forge
fi
echo "π Starting HTTPS development server..."
echo "π Your app will be available at: https://localhost:3000"
echo ""
echo "β οΈ You may see a security warning in your browser."
echo " Click 'Advanced' β 'Proceed to localhost (unsafe)' to continue."
echo ""
echo "π€ For Brave Browser users:"
echo " 1. Click the Brave Shields icon (lion head) in the address bar"
echo " 2. Set 'Block fingerprinting' to 'Allow all fingerprinting'"
echo " 3. Set 'Block scripts' to 'Allow all scripts'"
echo " 4. Refresh the page"
echo ""
echo "π§ͺ Debug Tools Available:"
echo " - Click 'π€ Debug' button for voice input status"
echo " - Click 'π§ͺ Chat Test' button to test API connectivity"
echo ""
pnpm run dev:https