@@ -12,24 +12,30 @@ import path from 'node:path'
1212
1313const config: ReverseProxyOptions = {
1414 /**
15- * The from URL to proxy from.
16- * Default: localhost:5173
15+
16+ _ The from URL to proxy from.
17+ _ Default: localhost:5173
18+
1719 */
1820 from: ' localhost:5173' ,
1921
2022 /**
21- * The to URL to proxy to.
22- * Default: stacks.localhost
23+
24+ _ The to URL to proxy to.
25+ _ Default: stacks.localhost
26+
2327 */
2428 to: ' stacks.localhost' ,
2529
2630 /**
27- * The HTTPS settings.
28- * Default: true
29- * If set to false, the proxy will use HTTP.
30- * If set to true, the proxy will use HTTPS.
31- * If set to an object, the proxy will use HTTPS with the provided settings.
32- */
31+
32+ _ The HTTPS settings.
33+ _ Default: true
34+ _ If set to false, the proxy will use HTTP.
35+ _ If set to true, the proxy will use HTTPS.
36+ _ If set to an object, the proxy will use HTTPS with the provided settings.
37+
38+ _/
3339 https: {
3440 domain: 'stacks.localhost',
3541 hostCertCN: 'stacks.localhost',
@@ -48,10 +54,12 @@ const config: ReverseProxyOptions = {
4854 },
4955
5056 /**
51- * The verbose setting.
52- * Default: false
53- * If set to true, the proxy will log more information.
54- */
57+
58+ _ The verbose setting.
59+ _ Default: false
60+ _ If set to true, the proxy will log more information.
61+
62+ _/
5563 verbose: false,
5664}
5765
0 commit comments