Only one template for now
This commit is contained in:
parent
261c566d49
commit
76295f6b2f
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ async function createServer(directory: string, options: any = {}) {
|
|||
await fs.mkdir(directory, { recursive: true });
|
||||
|
||||
// Copy template files
|
||||
const templateDir = path.join(__dirname, "../templates");
|
||||
const templateDir = path.join(__dirname, "../template");
|
||||
const files = await fs.readdir(templateDir, { recursive: true });
|
||||
|
||||
for (const file of files) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue