generated from ztimson/template
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22985b6230 | ||
|
|
9b5bf5d2fb | ||
|
|
daaa53790a |
@@ -7,6 +7,13 @@ curl -sL https://git.zakscode.com/ztimson/fallback-ap/raw/branch/master/install.
|
||||
|
||||
# VNC
|
||||
sudo raspi-config nonint do_vnc 0
|
||||
cat <<EOF | sudo tee /etc/wayvnc/config
|
||||
use_relative_paths=true
|
||||
address=127.0.0.1
|
||||
enable_auth=false
|
||||
enable_pam=false
|
||||
relax_encryption=true
|
||||
EOF
|
||||
|
||||
# Node
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.7/install.sh | bash
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import {fileURLToPath} from 'node:url';
|
||||
import {WebSocketServer} from 'ws';
|
||||
|
||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||
const NOVNC = path.join(__dirname, 'node_modules/@novnc/novnc');
|
||||
const NOVNC = path.join(__dirname, '../node_modules/@novnc/novnc');
|
||||
const PORT = process.env['PORT'] || 3000;
|
||||
const VNC_HOST = '127.0.0.1';
|
||||
const VNC_PORT = 5900;
|
||||
|
||||
Reference in New Issue
Block a user