masx200
masx200
是不是只有`openwrt-02.01.2024-mediatek-filogic-xiaomi_mi-router-ax3000t-squashfs-sysupgrade`版本才能开机啊?
关于固件 型号: Xiaomi Mi Router AX3000T 平台: mediatek/filogic 版本: 分支: 23.05.3 内核: 6.1.82 生成日期: 2024-03-30 05:29:01 说明: 后台: 10.0.0.1 密码: root
有没有人试过啊?是我特殊个例吗?
index.js ```js import cors from "@koa/cors"; import http from "http"; import Koa from "koa"; import compress from "koa-compress"; import conditional from "koa-conditional-get"; import etag from "koa-etag"; import logger from "koa-logger";...
package.json ```json { "type": "module", "dependencies": { "@koa/cors": "^3.1.0", "koa": "^2.13.1", "koa-compress": "^5.0.1", "koa-conditional-get": "^3.0.0", "koa-etag": "^4.0.0", "koa-logger": "^3.2.1", "koa-static": "^5.0.0", "koa2-serve-index": "^2.0.1" }, "name": "koa2-server", "version": "1.0.0", "main": "index.js",...
general: ``` Request URL: http://localhost:3000/ Request Method: GET Status Code: 200 OK Remote Address: [::1]:3000 Referrer Policy: strict-origin-when-cross-origin ``` responese: ``` Connection: keep-alive Content-Encoding: br Content-Type: text/html; charset=utf-8 Date: Fri,...
Is there any way to force'koa-etag' to be executed before'koa-compress'? The order of'koa-compress' and'koa-etag' should be emphasized in the documentation.
Or another way, let'koa-etag' convert'ctx.body' if'ctx.body' is'stream' type to'buffer' to generate'etag'? https://github.com/masx200/koa-stream-etag/blob/b2a0250daa08bde2489fe08bb4dad69978f7c07e/index.js https://github.com/masx200/koa-stream-etag/blob/b2a0250daa08bde2489fe08bb4dad69978f7c07e/test/index.spec.js
@niftylettuce
https://github.com/koajs/koa-range/pull/18