Answer the blossom upload probe in the composer spec mock
This commit is contained in:
parent
13c538b901
commit
936a66a86c
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ const serveBlossom = () => {
|
||||||
const method = request.method()
|
const method = request.method()
|
||||||
const {pathname} = new URL(request.url())
|
const {pathname} = new URL(request.url())
|
||||||
|
|
||||||
|
if (pathname === "/upload" && method === "HEAD") {
|
||||||
|
return route.fulfill({status: 200, body: ""})
|
||||||
|
}
|
||||||
|
|
||||||
if (pathname === "/upload" && method === "PUT") {
|
if (pathname === "/upload" && method === "PUT") {
|
||||||
await held
|
await held
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue