style: format code with Prettier

This commit fixes the style issues introduced in ca461f3 according to the output
from Prettier.

Details: None
This commit is contained in:
deepsource-autofix[bot] 2024-11-08 14:44:58 +00:00 committed by GitHub
parent ca461f3a21
commit 0ffba006aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,7 +18,7 @@ This little blog post thang will be about umami, and why I went with it over fix
reason is pretty simple, really and can be summed up in two points. reason is pretty simple, really and can be summed up in two points.
- Its resource usage is low - Its resource usage is low
- Has (nearly) all the features I used in Plausible - Has (nearly) all the features I used in Plausible
I want to talk a bit about how I got to the point where I chosen it, and the steps I've taken to actually install and I want to talk a bit about how I got to the point where I chosen it, and the steps I've taken to actually install and
setup an Alpine CT with itttt setup an Alpine CT with itttt
@ -60,7 +60,7 @@ Maybe I could pick it up in the future, and bring it back to life again
<Note text="Blank sections are due to me not being able to find information on the feature" /> <Note text="Blank sections are due to me not being able to find information on the feature" />
| | Matomo | PostHog | umami | Fathom lite | Plausible | | | Matomo | PostHog | umami | Fathom lite | Plausible |
|-------------------------------|--------|----------------------------|-----------------------------|------------------------------|----------------------------| | ----------------------------- | ------ | -------------------------- | --------------------------- | ---------------------------- | -------------------------- |
| Self-Hostable | Yes | Yes | Yes | Yes [^fathom-self-host] | Yes | | Self-Hostable | Yes | Yes | Yes | Yes [^fathom-self-host] | Yes |
| Hosting method | PHP | Docker | Node or Docker | Go [^fathom-language] | Docker | | Hosting method | PHP | Docker | Node or Docker | Go [^fathom-language] | Docker |
| GDPR compliant | Yes | Yes | Yes | No [^fathom-gdpr-compliance] | Yes | | GDPR compliant | Yes | Yes | Yes | No [^fathom-gdpr-compliance] | Yes |
@ -118,6 +118,7 @@ apk add vim git
I didn't reaaaaaly need caddy for this, as it would mean the service would be behind two proxies, but I wanted to setup I didn't reaaaaaly need caddy for this, as it would mean the service would be behind two proxies, but I wanted to setup
caddy anyway. It was quite simple really caddy anyway. It was quite simple really
```bash ```bash
apk add caddy apk add caddy
rc-update add caddy rc-update add caddy
@ -129,10 +130,12 @@ mkdir /var/www/html
Then, in `/etc/caddy`, we edit the `Caddyfile`, use your favorite editor for this, but I like vim, so for me I would run Then, in `/etc/caddy`, we edit the `Caddyfile`, use your favorite editor for this, but I like vim, so for me I would run
`vim Caddyfile`. Then set the contents to the following `vim Caddyfile`. Then set the contents to the following
```caddyfile ```caddyfile
:8080 :8080
reverse_proxy localhost:3000 reverse_proxy localhost:3000
``` ```
<Note text="3000 is the default port for yarn, but adjust for your needs" /> <Note text="3000 is the default port for yarn, but adjust for your needs" />
And finally we just need to reload the service, still within `/etc/caddy`, with `caddy reload`! And finally we just need to reload the service, still within `/etc/caddy`, with `caddy reload`!