Skip to content

Commit

Permalink
fix alpn
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Feb 27, 2024
1 parent 63dc779 commit 2cc78da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/InTLS.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ export default {
usePath: 0,
defaults: defaultInTls,
alpn: [
{ title: "H3", value: 'HTTP/3' },
{ title: "H2", value: 'HTTP/2' },
{ title: "Http1.1", value: 'HTTP/1.1' },
{ title: "H3", value: 'h3' },
{ title: "H2", value: 'h2' },
{ title: "Http/1.1", value: 'http/1.1' },
],
tlsVersions: [ '1.0', '1.1', '1.2', '1.3' ],
cipher_suites: [
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/types/inTls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface iTls {
}

export const defaultInTls: iTls = {
alpn: ['HTTP/3', 'HTTP/2', 'HTTP/1.1'],
alpn: ['h3', 'h2', 'http/1.1'],
min_version: "1.2",
max_version: "1.3",
cipher_suites: [""],
Expand Down

0 comments on commit 2cc78da

Please sign in to comment.