Compare commits

2 Commits

Author SHA1 Message Date
2bf8c9926d fix mode 2024-09-18 10:37:32 -04:00
db6e99e9ea Fix README formatting 2024-09-01 23:47:21 -04:00
2 changed files with 5 additions and 5 deletions

View File

@@ -21,9 +21,9 @@ Note:
2. Make sure the webapp is properly authenticated without relying on 2. Make sure the webapp is properly authenticated without relying on
localStorage. E.g. localStorage. E.g.
a. Setup HTTP Basic Auth 1. Setup HTTP Basic Auth
b. Webapp is only served inside home network 2. Webapp is only served inside home network
c. Served under a secret URL not shared with anyone like [tor onion url][3] 3. Served under a secret URL not shared with anyone like [tor onion url][3]
## Usecase example ## Usecase example
@@ -62,7 +62,7 @@ Let me know at `@balki@balki.me` in fediverse, if you find it useful
go install go.balki.me/remote-local-storage@latest go install go.balki.me/remote-local-storage@latest
``` ```
## Links ---
[0]: https://developer.mozilla.org/docs/Web/API/Window/localStorage [0]: https://developer.mozilla.org/docs/Web/API/Window/localStorage
[1]: https://torproject.org [1]: https://torproject.org

View File

@@ -39,7 +39,7 @@ func main() {
log.Panic(err) log.Panic(err)
} }
if err := os.WriteFile(*dumpFile, data, 0o400); err != nil { if err := os.WriteFile(*dumpFile, data, 0o600); err != nil {
log.Panic(err) log.Panic(err)
} }