Skip to content

Commit

Permalink
middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Jun 23, 2024
1 parent 7232a5f commit 89df72a
Show file tree
Hide file tree
Showing 52 changed files with 830 additions and 638 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"extends": "eslint-config-egg"
"extends": [
"eslint-config-egg/typescript",
"eslint-config-egg/lib/rules/enforce-node-prefix"
]
}
7 changes: 0 additions & 7 deletions .github/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@master

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ English | [简体中文](./README.zh-CN.md)
[![Known Vulnerabilities](https://snyk.io/test/npm/egg/badge.svg?style=flat-square)](https://snyk.io/test/npm/egg)
[![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/eggjs?style=flat-square)](https://opencollective.com/eggjs)


## Features

- Built-in Process Management
Expand Down Expand Up @@ -62,5 +61,4 @@ To become a contributor, please follow our [contributing guide](CONTRIBUTING.md)

[MIT](LICENSE)


[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Feggjs%2Fegg.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Feggjs%2Fegg?ref=badge_large)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Feggjs%2Fegg.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Feggjs%2Fegg?ref=badge_large)
11 changes: 6 additions & 5 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
## 快速开始

```bash
$ mkdir showcase && cd showcase
$ npm init egg --type=simple
$ npm install
$ npm run dev
$ open http://localhost:7001
mkdir showcase && cd showcase
npm init egg --type=simple
npm install
npm run dev

open http://localhost:7001
```

## 文档
Expand Down
3 changes: 0 additions & 3 deletions app/middleware/body_parser.js

This file was deleted.

3 changes: 0 additions & 3 deletions app/middleware/override_method.js

This file was deleted.

31 changes: 0 additions & 31 deletions app/middleware/site_file.js

This file was deleted.

7 changes: 0 additions & 7 deletions config/config.local.js

This file was deleted.

8 changes: 0 additions & 8 deletions config/config.unittest.js

This file was deleted.

93 changes: 0 additions & 93 deletions lib/core/dnscache_httpclient.js

This file was deleted.

108 changes: 0 additions & 108 deletions lib/core/httpclient.js

This file was deleted.

37 changes: 0 additions & 37 deletions lib/core/httpclient_next.js

This file was deleted.

Loading

0 comments on commit 89df72a

Please sign in to comment.