这个 yaml 有什么问题
Whats wrong with this yaml
它说 YAML 在此特定行无效 Access-Control-Allow-Origin: *
我错过了什么
http:
- request:
path: /
method: GET
response:
headers:
Server: Apache
Last-Modified: Mon, 29 Mar 2021 15:54:09 GMT
Etag: "19bbb-5beaee46ce7fa"
Accept-Ranges: bytes
Content-Length: 105403
Vary: Accept-Encoding
Set-Cookie: HttpOnly;Secure;
Access-Control-Allow-Origin: *
Content-Type: text/html
file: 0.html
status: 200
*
是一个特殊字符。
做到 "*"
它说 YAML 在此特定行无效 Access-Control-Allow-Origin: * 我错过了什么
http:
- request:
path: /
method: GET
response:
headers:
Server: Apache
Last-Modified: Mon, 29 Mar 2021 15:54:09 GMT
Etag: "19bbb-5beaee46ce7fa"
Accept-Ranges: bytes
Content-Length: 105403
Vary: Accept-Encoding
Set-Cookie: HttpOnly;Secure;
Access-Control-Allow-Origin: *
Content-Type: text/html
file: 0.html
status: 200
*
是一个特殊字符。
做到 "*"