Fix ARP_STRS_JOINED in config file

This commit is contained in:
aceberg 2024-09-08 23:02:36 +07:00
parent b646fb74e3
commit ee850d2576
3 changed files with 7 additions and 2 deletions

View file

@ -18,10 +18,10 @@ jobs:
go-version: 'stable'
- run: go version
- uses: goreleaser/goreleaser-action@v5
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file.
## [v2.0.3] - 2024-09-
### Fixed
- `ARP_STRS_JOINED` should be empty in config file
## [v2.0.2] - 2024-09-07
### Added
- Remember Refresh setting in browser [#123](https://github.com/aceberg/WatchYourLAN/issues/123)

View file

@ -87,6 +87,7 @@ func Write(config models.Conf) {
viper.Set("LOG_LEVEL", config.LogLevel)
viper.Set("ARP_ARGS", config.ArpArgs)
viper.Set("ARP_STRS", config.ArpStrs)
viper.Set("ARP_STRS_JOINED", "") // Can be set only with ENV
viper.Set("IFACES", config.Ifaces)
viper.Set("TIMEOUT", config.Timeout)
viper.Set("TRIM_HIST", config.TrimHist)