binwiederhier 3 недель назад
Родитель
Сommit
353fedb93f
3 измененных файлов с 3 добавлено и 3 удалено
  1. 0 1
      cmd/serve.go
  2. 2 1
      docs/releases.md
  3. 1 1
      server/config.go

+ 0 - 1
cmd/serve.go

@@ -655,4 +655,3 @@ func parseTokens(users []*user.User, tokensRaw []string) (map[string][]*user.Tok
 	}
 	return tokens, nil
 }
-

+ 2 - 1
docs/releases.md

@@ -1605,7 +1605,8 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release
 
 * Support for [updating and deleting notifications](publish.md#updating-deleting-notifications) ([#303](https://github.com/binwiederhier/ntfy/issues/303), [#1536](https://github.com/binwiederhier/ntfy/pull/1536),
   [ntfy-android#151](https://github.com/binwiederhier/ntfy-android/pull/151), thanks to [@wunter8](https://github.com/wunter8) for the initial implementation)
-* Support for a [custom Twilio call format](config.md#phone-calls) ([#1289](https://github.com/binwiederhier/ntfy/pull/1289), thanks to [@mmichaa](https://github.com/mmichaa) for the initial implementation) 
+* Configure [custom Twilio call format](config.md#phone-calls) for phone calls ([#1289](https://github.com/binwiederhier/ntfy/pull/1289), thanks to [@mmichaa](https://github.com/mmichaa) for the initial implementation) 
+* `ntfy serve` now works on Windows, including support for running it as a Windows service ([#1552](https://github.com/binwiederhier/ntfy/pull/1552), originally [#1328](https://github.com/binwiederhier/ntfy/pull/1328), thanks to [@wtf911](https://github.com/wtf911))
 
 ### ntfy Android app v1.22.x (UNRELEASED)
 

+ 1 - 1
server/config.go

@@ -27,7 +27,7 @@ const (
 
 // Platform-specific default paths (set in config_unix.go or config_windows.go)
 var (
-	DefaultConfigFile string
+	DefaultConfigFile  string
 	DefaultTemplateDir string
 )