🌳
pt0/deployF/servicesF/homeAssF/syncHomeAssProxyF.mts
2import { homeAssHost } from './configF.mts'
4export const fixHomeAssCfg = async () => {
5 const cmd = `ssh ${homeAssHost} 'cat /config/configuration.yaml'`
6 // const {stdout} = await liveSpawnThrow({
7 // cmd,
8 // isQuiet: true
9 // })
10 // console.log(stdout)
11 // const parsed = yaml.loadAll(stdout)
12 // console.log(parsed)
13 console.log(`TODO ${cmd} to fix allowed_proxy_ips or whatever its called but got lazy stopped`)
15if (isDirectlyRun(import.meta.url)) {
16 await fixHomeAssCfg()