mirror of
https://github.com/studiokaiji/nostr-webhost.git
synced 2026-01-31 12:44:42 +01:00
リレー削除時の書き込みエラーを修正
This commit is contained in:
@@ -50,7 +50,7 @@ func RemoveRelay(targetURL string) error {
|
||||
}
|
||||
|
||||
newContent := strings.Join(newLines, "\n")
|
||||
err = os.WriteFile(PATH, []byte(newContent), 0644)
|
||||
err = os.WriteFile(filePath, []byte(newContent), 0644)
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user