change default 'from' value from './dist' to './www'

This commit is contained in:
陆柯 2021-08-02 07:25:31 +08:00
parent 21f95f6a61
commit 90202815d5

View File

@ -16,7 +16,7 @@ const wo = (global.wo = {
// 最基础的必须的默认配置,如果用户什么也没有提供
protocol: 'http',
host: 'localhost',
from: './dist', // local path to serve as webroot
from: './www', // local path to serve as webroot
// 如果使用虚拟主机
/*
vhosts: [