File tree 2 files changed +5
-21
lines changed
src/components/FunctionEditor/types
2 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -40,30 +40,16 @@ server {
40
40
if ($host ~* "(\w{8}(-\w{4}){3}-\w{12})\.(.+)$" ) {
41
41
set $appid $1 ;
42
42
set $service_id app_$appid ;
43
- proxy_pass http://$service_id :8000;
44
- add_header appid $appid ;
45
- # proxy_set_header Host $host:$server_port;
46
- # proxy_set_header Host $host;
47
- # proxy_http_version 1.1;
48
- # proxy_set_header Upgrade $http_upgrade;
49
- # proxy_set_header Connection "upgrade";
50
- # proxy_read_timeout 6000s;
51
43
}
52
- }
53
44
54
- location /socket {
55
- resolver 127.0.0.11 ;
56
- if ($host ~* "(\w{8}(-\w{4}){3}-\w{12})\.(.+)$" ) {
57
- set $appid $1 ;
58
- set $service_id app_$appid ;
59
- proxy_pass http://$service_id :8000/;
60
- # add_header appid $appid;
61
- }
45
+ proxy_pass http://$service_id :8000;
46
+ add_header appid $appid ;
47
+ proxy_read_timeout 600s ;
48
+
62
49
proxy_set_header Host $host ;
63
50
proxy_http_version 1.1 ;
64
51
proxy_set_header Upgrade $http_upgrade ;
65
52
proxy_set_header Connection "upgrade" ;
66
- proxy_read_timeout 6000s ;
67
53
}
68
54
69
55
location /deploy/incoming {
Original file line number Diff line number Diff line change 1
1
2
-
3
2
export const websocket_type = `
4
-
5
3
// WebSocket socket.
6
4
declare class WebSocket extends EventEmitter {
7
5
/** The connection is not yet open. */
@@ -145,4 +143,4 @@ declare class WebSocket extends EventEmitter {
145
143
): this;
146
144
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
147
145
}
148
- `
146
+ `
You can’t perform that action at this time.
0 commit comments