Skip to content

armgit / my-yt

Public Imported from GitHub
0

A clean and minimal youtube frontend, without all the ads and whistles

JavaScript

fs create data/videos recursively

Christian Feib754a6fede39
diff --git a/index.js b/index.js
index 74607f9..7be9b33 100644
--- a/index.js
+++ b/index.js
@@ -3,7 +3,6 @@ import os from 'os'
import Repository from './lib/repository.js'
import { createServer } from './lib/server.js'
-fs.mkdirSync('./data', { recursive: true })
fs.mkdirSync('./data/videos', { recursive: true })
async function main ({port = 3000, connections = []} = {}) {