chore(fmt): npm run fmt

This commit is contained in:
AJ ONeal
2022-08-24 06:34:28 +00:00
parent de0a09290e
commit 8cda6ee36d
3 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -144,8 +144,8 @@ It looks like this:
`releases.js`:
```js
module.exports = function(request) {
return github(request, owner, repo).then(function(all) {
module.exports = function (request) {
return github(request, owner, repo).then(function (all) {
// if you need to do something special, you can do it here
// ...
return all;
+4 -3
View File
@@ -48,7 +48,7 @@ example.com {
# turn on standard streaming compression
encode gzip zstd
# reverse proxy /api to :3000
handle_path /api/* {
reverse_proxy localhost:3000
@@ -80,7 +80,7 @@ example.com {
```txt
example.com {
# ...
# reverse proxy /api/new/ to http://localhost:3100/api/
handle_path /api/new/* {
rewrite * /api{path}
@@ -95,7 +95,8 @@ example.com {
caddy run --config ./Caddyfile
```
Note: `run` runs in the foreground, `start` starts a service (daemon) in the background.
Note: `run` runs in the foreground, `start` starts a service (daemon) in the
background.
### How to start Caddy as a Linux service
+2 -2
View File
@@ -9,8 +9,8 @@ tagline: |
> debug Windows scripts without having to boot up Windows.
For example, if you want to create a `curl.exe -A "windows" | powershell` script
for Windows (as we do), it's helpful to be able to do some level of debugging
on other platforms.
for Windows (as we do), it's helpful to be able to do some level of debugging on
other platforms.
<!--
For example, if you wanted to install Node.js with powershell and