feat: add default values for wizard

This commit is contained in:
Ravinou 2023-10-01 18:48:58 +02:00
commit 805253491d
No known key found for this signature in database
GPG key ID: EEEE670C40F6A4D7

View file

@ -16,8 +16,8 @@ export default async function handler(req, res) {
}
const wizardEnv = {
UNIX_USER: getEnvVariable('UNIX_USER'),
HOSTNAME: getEnvVariable('HOSTNAME'),
UNIX_USER: getEnvVariable('UNIX_USER', 'borgwarehouse'),
HOSTNAME: getEnvVariable('HOSTNAME', 'localhost'),
SSH_SERVER_PORT: getEnvVariable('SSH_SERVER_PORT', '22'),
HOSTNAME_LAN: getEnvVariable('HOSTNAME_LAN'),
SSH_SERVER_PORT_LAN: getEnvVariable('SSH_SERVER_PORT_LAN'),