fixed bug
parent
8781b70a6d
commit
82d1fc31a6
|
@ -207,6 +207,9 @@ export default async function createServer(root = '', conf = {}) {
|
|||
} else {
|
||||
file = join(pagesDir, pathname)
|
||||
}
|
||||
if (!fs.isfile(file)) {
|
||||
file = join(SOURCE_DIR, pathname)
|
||||
}
|
||||
} else {
|
||||
file = join(SOURCE_DIR, pathname)
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "fite",
|
||||
"type": "module",
|
||||
"version": "0.3.4",
|
||||
"version": "0.3.5",
|
||||
"bin": {
|
||||
"fite": "index.js"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue