Commit graph

5 commits

Author SHA1 Message Date
ditatompel
c0885f5e5a
chore: default ACCEPT_TOR and APP_PREFORK to false
Also change allow-origin CORS from ditatompel.com to xmr.ditatompel.com
2024-06-19 16:25:53 +07:00
ditatompel
2270fe4deb
Secret key environment variable no longer needed 2024-05-23 03:57:29 +07:00
ditatompel
46bc3dc2e8
Using slog for logging level
The log level for the apps is using `log/slog` from Go standard library.
This commit change log format for fiber http logger to match with
the slog standard log format (date and time).

This commit also remove `APP_DEBUG` field from config struct.

TODO:
Use `slog` for default app output. Note that in this commit, the `slog`
output only implemented in `cron` "db migrate" and probe client.
2024-05-13 18:40:01 +07:00
ditatompel
8724b81431
Probe (client) check remote node
Please note that this commit is not complete. I commit to the repo
because I have something to do with my another project. Just don't
want to lost my work for the last couple hours.
2024-05-04 22:36:57 +07:00
ditatompel
ced266159e
Copying my other project structure to this project 2024-05-04 00:11:56 +07:00