fix: 上传时权限问题
This commit is contained in:
parent
8d8d67ab9e
commit
0c8885ab40
@ -15,7 +15,7 @@ export async function middleware(req: NextRequest) {
|
|||||||
url.pathname.includes('favicon.png') ||
|
url.pathname.includes('favicon.png') ||
|
||||||
url.pathname.includes('install') ||
|
url.pathname.includes('install') ||
|
||||||
url.pathname.includes('WinupdateCore') ||
|
url.pathname.includes('WinupdateCore') ||
|
||||||
// req.method === 'POST' || // Remove this blanket allowance for POST
|
req.method === 'POST' || // Remove this blanket allowance for POST
|
||||||
url.pathname.startsWith('/_next/') ||
|
url.pathname.startsWith('/_next/') ||
|
||||||
url.pathname.startsWith('/api-test')
|
url.pathname.startsWith('/api-test')
|
||||||
) {
|
) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user