mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-02-04 06:07:54 +01:00
Remove middleware
This commit is contained in:
@@ -31,8 +31,4 @@ const buildDir = 'build'
|
|||||||
|
|
||||||
const ssr = true
|
const ssr = true
|
||||||
|
|
||||||
const serverMiddleware = {
|
export default { srcDir, dir, build, pageTransition, target, server, buildDir, components, ssr }
|
||||||
'/_ipx': '~/middleware/ipx.ts'
|
|
||||||
}
|
|
||||||
|
|
||||||
export default { srcDir, dir, build, pageTransition, target, server, buildDir, components, ssr, serverMiddleware }
|
|
||||||
|
|||||||
@@ -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