Sign in

徐烜 / bsth-ebus-h5_editor · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • bsth-ebus-h5_editor
  • back-end
  • h5-api
  • config
  • middleware.json
  • feat: serve editor(front-end) with strapi(koa-static)
    1f9f1abb
    ly525 authored
    2020-01-11 12:22:08 +0800  
    Browse Code »
middleware.json 339 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{
  "timeout": 100,
  "load": {
    "before": [
      "responseTime",
      "logger",
      "cors",
      "responses",
      "gzip"
    ],
    "order": [
      "Define the middlewares' load order by putting their name in this array is the right order",
      "editorStatic"
    ],
    "after": [
      "parser",
      "router"
    ]
  }
}