File tree
Expand file treeCollapse file tree
10 files changed
+400
-2
lines changedFilter options
- docs/config
- packages/vite/src/node
- server
- middlewares
- __tests__
- playground/fs-serve/__tests__
Expand file treeCollapse file tree
10 files changed
+400
-2
lines changeddocs/config/preview-options.md
Copy file name to clipboardExpand all lines: docs/config/preview-options.md+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
17 | 17 |
|
18 | 18 |
|
19 | 19 |
|
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
20 | 29 |
|
21 | 30 |
|
22 | 31 |
|
|
docs/config/server-options.md
Copy file name to clipboardExpand all lines: docs/config/server-options.md+14Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
41 | 41 |
|
42 | 42 |
|
43 | 43 |
|
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
44 | 58 |
|
45 | 59 |
|
46 | 60 |
|
|
packages/vite/src/node/config.ts
Copy file name to clipboardExpand all lines: packages/vite/src/node/config.ts+7-1Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
73 | 73 |
|
74 | 74 |
|
75 | 75 |
|
| 76 | + |
76 | 77 |
|
77 | 78 |
|
78 | 79 |
|
| ||
424 | 425 |
|
425 | 426 |
|
426 | 427 |
|
| 428 | + |
| 429 | + |
427 | 430 |
|
428 | 431 |
|
429 | 432 |
|
| ||
791 | 794 |
|
792 | 795 |
|
793 | 796 |
|
| 797 | + |
| 798 | + |
794 | 799 |
|
795 | 800 |
|
796 | 801 |
|
| ||
822 | 827 |
|
823 | 828 |
|
824 | 829 |
|
825 |
| - |
| 830 | + |
826 | 831 |
|
827 | 832 |
|
828 | 833 |
|
| ||
858 | 863 |
|
859 | 864 |
|
860 | 865 |
|
| 866 | + |
861 | 867 |
|
862 | 868 |
|
863 | 869 |
|
|
packages/vite/src/node/http.ts
Copy file name to clipboardExpand all lines: packages/vite/src/node/http.ts+12Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
27 | 39 |
|
28 | 40 |
|
29 | 41 |
|
|
packages/vite/src/node/preview.ts
Copy file name to clipboardExpand all lines: packages/vite/src/node/preview.ts+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
37 | 37 |
|
38 | 38 |
|
39 | 39 |
|
| 40 | + |
40 | 41 |
|
41 | 42 |
|
42 | 43 |
|
| ||
53 | 54 |
|
54 | 55 |
|
55 | 56 |
|
| 57 | + |
56 | 58 |
|
57 | 59 |
|
58 | 60 |
|
| ||
188 | 190 |
|
189 | 191 |
|
190 | 192 |
|
| 193 | + |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
191 | 200 |
|
192 | 201 |
|
193 | 202 |
|
|
packages/vite/src/node/server/index.ts
Copy file name to clipboardExpand all lines: packages/vite/src/node/server/index.ts+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
97 | 97 |
|
98 | 98 |
|
99 | 99 |
|
| 100 | + |
100 | 101 |
|
101 | 102 |
|
102 | 103 |
|
| ||
853 | 854 |
|
854 | 855 |
|
855 | 856 |
|
| 857 | + |
| 858 | + |
| 859 | + |
| 860 | + |
| 861 | + |
| 862 | + |
| 863 | + |
856 | 864 |
|
857 | 865 |
|
858 | 866 |
|
|
packages/vite/src/node/server/middlewares/__tests__/hostCheck.spec.ts
Copy file name to clipboard+112Lines changed: 112 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
0 commit comments