mirror of
https://github.com/iptv-org/iptv
synced 2026-10-24 03:49:08 -04:00
Create .nojekyll file
This commit is contained in:
1 parent
92177e5823
commit
5eaa4c794b
1 file changed
+6
@@ -14,6 +14,8 @@ function main() {
|
||||
parseIndex()
|
||||
console.log('Creating root directory...')
|
||||
createRootDirectory()
|
||||
console.log('Creating .nojekyll...')
|
||||
createNoJekyllFile()
|
||||
console.log('Generating index.m3u...')
|
||||
generateIndex()
|
||||
console.log('Generating index.country.m3u...')
|
||||
@@ -39,6 +41,10 @@ function createRootDirectory() {
|
||||
helper.createDir(ROOT_DIR)
|
||||
}
|
||||
|
||||
function createNoJekyllFile() {
|
||||
helper.createFile(`${ROOT_DIR}/.nojekyll`)
|
||||
}
|
||||
|
||||
function parseIndex() {
|
||||
const root = helper.parsePlaylist('index.m3u')
|
||||
|
||||
|
||||
Reference in new issue
Block a user