File tree Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Expand file tree Collapse file tree 3 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 16
16
"storybook" : " start-storybook -p 9009 -s public" ,
17
17
"build-storybook" : " build-storybook -s public"
18
18
},
19
- "proxy" : " https://localhost:8443" ,
20
19
"dependencies" : {
21
20
"@emotion/core" : " 10.0.28" ,
22
21
"@emotion/styled" : " 10.0.27" ,
28
27
"debug" : " 4.1.1" ,
29
28
"emotion-theming" : " 10.0.27" ,
30
29
"file-saver" : " 2.0.2" ,
30
+ "http-proxy-middleware" : " 1.0.4" ,
31
31
"i18next" : " 19.4.4" ,
32
32
"i18next-browser-languagedetector" : " 4.1.1" ,
33
33
"lottie-web" : " 5.6.8" ,
Original file line number Diff line number Diff line change
1
+ /* eslint-disable @typescript-eslint/no-var-requires */
2
+ const { createProxyMiddleware } = require ( 'http-proxy-middleware' ) ;
3
+ module . exports = function ( app ) {
4
+ app . use (
5
+ '/' ,
6
+ createProxyMiddleware (
7
+ [ '/lnrpc.Lightning' , '/looprpc.SwapClient' , '/frdrpc.FaradayServer' ] ,
8
+ {
9
+ target : 'https://localhost:8443' ,
10
+ ws : true ,
11
+ secure : false ,
12
+ } ,
13
+ ) ,
14
+ ) ;
15
+ } ;
Original file line number Diff line number Diff line change 2265
2265
resolved "https://registry.yarnpkg.com/@types/html-minifier-terser/-/html-minifier-terser-5.0.0.tgz#7532440c138605ced1b555935c3115ddd20e8bef"
2266
2266
integrity sha512-q95SP4FdkmF0CwO0F2q0H6ZgudsApaY/yCtAQNRn1gduef5fGpyEphzy0YCq/N0UFvDSnLg5V8jFK/YGXlDiCw==
2267
2267
2268
+ "@types/http-proxy@^1.17.4":
2269
+ version "1.17.4"
2270
+ resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.17.4.tgz#e7c92e3dbe3e13aa799440ff42e6d3a17a9d045b"
2271
+ integrity sha512-IrSHl2u6AWXduUaDLqYpt45tLVCtYv7o4Z0s1KghBCDgIIS9oW5K1H8mZG/A2CfeLdEa7rTd1ACOiHBc1EMT2Q==
2272
+ dependencies:
2273
+ "@types/node" "*"
2274
+
2268
2275
"@types/is-function@^1.0.0":
2269
2276
version "1.0.0"
2270
2277
resolved "https://registry.yarnpkg.com/@types/is-function/-/is-function-1.0.0.tgz#1b0b819b1636c7baf0d6785d030d12edf70c3e83"
@@ -7475,6 +7482,17 @@ http-proxy-middleware@0.19.1:
7475
7482
lodash "^4.17.11"
7476
7483
micromatch "^3.1.10"
7477
7484
7485
+ http-proxy-middleware@1.0.4:
7486
+ version "1.0.4"
7487
+ resolved "https://registry.yarnpkg.com/http-proxy-middleware/-/http-proxy-middleware-1.0.4.tgz#425ea177986a0cda34f9c81ec961c719adb6c2a9"
7488
+ integrity sha512-8wiqujNWlsZNbeTSSWMLUl/u70xbJ5VYRwPR8RcAbvsNxzAZbgwLzRvT96btbm3fAitZUmo5i8LY6WKGyHDgvA==
7489
+ dependencies:
7490
+ "@types/http-proxy" "^1.17.4"
7491
+ http-proxy "^1.18.1"
7492
+ is-glob "^4.0.1"
7493
+ lodash "^4.17.15"
7494
+ micromatch "^4.0.2"
7495
+
7478
7496
http-proxy@^1.17.0:
7479
7497
version "1.18.0"
7480
7498
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.0.tgz#dbe55f63e75a347db7f3d99974f2692a314a6a3a"
@@ -7484,6 +7502,15 @@ http-proxy@^1.17.0:
7484
7502
follow-redirects "^1.0.0"
7485
7503
requires-port "^1.0.0"
7486
7504
7505
+ http-proxy@^1.18.1:
7506
+ version "1.18.1"
7507
+ resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"
7508
+ integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==
7509
+ dependencies:
7510
+ eventemitter3 "^4.0.0"
7511
+ follow-redirects "^1.0.0"
7512
+ requires-port "^1.0.0"
7513
+
7487
7514
http-signature@~1.2.0:
7488
7515
version "1.2.0"
7489
7516
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
You can’t perform that action at this time.
0 commit comments