Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
smileby committed Feb 2, 2024
1 parent c8af29a commit 8c8f0e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/en/latest/plugins/grpc-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ The `grpc-web` Plugin is a proxy Plugin that can process [gRPC Web](https://gith

## Attributes

| Name | Type | Required | Default | Description |
|-------------------------|---------|----------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| cors_allow_headers | string | False | "content-type,x-grpc-web,x-user-agent" | Headers in the request allowed when accessing a cross-origin resource. Use `,` to add multiple headers. |
| Name | Type | Required | Default | Description |
|-------------------------|---------|----------|-----------------------------------------|----------------------------------------------------------------------------------------------------------|
| cors_allow_headers | string | False | "content-type,x-grpc-web,x-user-agent" | Headers in the request allowed when accessing a cross-origin resource. Use `,` to add multiple headers. |

## Enable Plugin

Expand Down
6 changes: 3 additions & 3 deletions docs/zh/latest/plugins/grpc-web.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ description: 本文介绍了关于 Apache APISIX `grpc-web` 插件的基本信

## 属性

| 名称 | 类型 | 必选项 | 默认值 | 描述 |
|---------------------| ------- | ------ | ------ | ------------------------------------------------------------ |
| cors_allow_headers | string | | "content-type,x-grpc-web,x-user-agent" | 允许跨域访问时请求方携带哪些非 `CORS 规范` 以外的 Header。如果你有多个 Header,请使用 `,` 分割。 |
| 名称 | 类型 | 必选项 | 默认值 | 描述 |
|---------------------| ------- |----|-----------------------------------------|----------------------------------------------------------------|
| cors_allow_headers | string || "content-type,x-grpc-web,x-user-agent" | 允许跨域访问时请求方携带哪些非 `CORS 规范` 以外的 Header。如果你有多个 Header,请使用 `,` 分割。 |

## 启用插件

Expand Down

0 comments on commit 8c8f0e1

Please sign in to comment.