mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 12:14:42 +01:00
Remove middleware
This commit is contained in:
@@ -31,8 +31,4 @@ const buildDir = 'build'
|
||||
|
||||
const ssr = true
|
||||
|
||||
const serverMiddleware = {
|
||||
'/_ipx': '~/middleware/ipx.ts'
|
||||
}
|
||||
|
||||
export default { srcDir, dir, build, pageTransition, target, server, buildDir, components, ssr, serverMiddleware }
|
||||
export default { srcDir, dir, build, pageTransition, target, server, buildDir, components, ssr }
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
import { createIPX, createIPXMiddleware } from 'ipx'
|
||||
|
||||
// https://github.com/unjs/ipx
|
||||
const ipx = createIPX({
|
||||
dir: 'src/static'
|
||||
})
|
||||
|
||||
export default createIPXMiddleware(ipx)
|
||||
Reference in New Issue
Block a user