@stacksjs/rpx 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +1 -2
- package/dist/{chunk-dfsxt9xp.js → chunk-kbhf94ag.js} +161 -161
- package/dist/src/index.js +1 -2
- package/package.json +13 -8
package/dist/bin/cli.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import{D as p,E as c,a as r,b as e,c as a,x as s}from"../chunk-dfsxt9xp.js";var o=new r("reverse-proxy");o.command("start","Start the Reverse Proxy Server").option("--from <from>","The URL to proxy from").option("--to <to>","The URL to proxy to").option("--key-path <path>","Absolute path to the SSL key").option("--cert-path <path>","Absolute path to the SSL certificate").option("--ca-cert-path <path>","Absolute path to the SSL CA certificate").option("--etc-hosts-cleanup","Cleanup /etc/hosts on exit").option("--verbose","Enable verbose logging").example("reverse-proxy start --from localhost:5173 --to my-project.localhost").example("reverse-proxy start --from localhost:3000 --to my-project.localhost/api").example("reverse-proxy start --from localhost:3000 --to localhost:3001").example("reverse-proxy start --from localhost:5173 --to my-project.test --key-path /absolute/path/to/key --cert-path /absolute/path/to/cert").action(async(t)=>{if(!t?.from||!t.to)return c(a);return p({from:t?.from,to:t?.to,https:s(t),etcHostsCleanup:t?.etcHostsCleanup,verbose:t?.verbose})});o.command("version","Show the version of the Reverse Proxy CLI").action(()=>{console.log(e)});o.version(e);o.help();o.parse();
|
|
1
|
+
import{D as p,E as c,a as r,b as e,c as a,x as s}from"../chunk-kbhf94ag.js";var o=new r("reverse-proxy");o.command("start","Start the Reverse Proxy Server").option("--from <from>","The URL to proxy from").option("--to <to>","The URL to proxy to").option("--key-path <path>","Absolute path to the SSL key").option("--cert-path <path>","Absolute path to the SSL certificate").option("--ca-cert-path <path>","Absolute path to the SSL CA certificate").option("--etc-hosts-cleanup","Cleanup /etc/hosts on exit").option("--verbose","Enable verbose logging").example("reverse-proxy start --from localhost:5173 --to my-project.localhost").example("reverse-proxy start --from localhost:3000 --to my-project.localhost/api").example("reverse-proxy start --from localhost:3000 --to localhost:3001").example("reverse-proxy start --from localhost:5173 --to my-project.test --key-path /absolute/path/to/key --cert-path /absolute/path/to/cert").action(async(t)=>{if(!t?.from||!t.to)return c(a);return p({from:t?.from,to:t?.to,https:s(t),etcHostsCleanup:t?.etcHostsCleanup,verbose:t?.verbose})});o.command("version","Show the version of the Reverse Proxy CLI").action(()=>{console.log(e)});o.version(e);o.help();o.parse();
|