mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 14:06:28 +00:00
chore(fmt): npm run fmt
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user