mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-13 02:20:06 -04:00
Strict page build rules
This commit is contained in:
parent
b0b32cdaaa
commit
53b4de0132
3 changed files with 8 additions and 2 deletions
|
@ -1 +1,3 @@
|
|||
export const prerender = true
|
||||
export const csr = true
|
||||
export const ssr = false
|
||||
|
|
|
@ -22,8 +22,11 @@ data.streams = _.groupBy(_streams, 'channel')
|
|||
data.blocklist = _.groupBy(blocklist, 'channel')
|
||||
data.channels = _.keyBy(channels, channel => channel.id.toLowerCase())
|
||||
|
||||
export const csr = true
|
||||
export const ssr = true
|
||||
|
||||
export function entries() {
|
||||
return Object.values(data.channels).map(channel => {
|
||||
return channels.map(channel => {
|
||||
const [name, country] = channel.id.split('.')
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue