dhvitOP / AnimeEZ

AnimeEZ - An Anime Streaming website without any ads for free (Demo - https://animeez.live) BTW ITS MADE IN HTML
https://animeez.live
102 stars 57 forks source link

Error on website when trying to stream a video #2

Closed adgsenpai closed 2 years ago

adgsenpai commented 2 years ago
TypeError: /home/runner/AnimeEZ/views/watch.ejs:159
    157|               
    158|                               
 >> 159|                               <% 
    160|                                
    161|                                 if(details.watch.server === "SB Stream") { %>
    162|                                <iframe src="<%- details.watch.watch %>" id="iframe-to-load" allowfullscreen="true"></iframe>

Cannot read property 'server' of undefined
    at eval ("/home/runner/AnimeEZ/views/watch.ejs":25:50)
    at watch (/home/runner/AnimeEZ/node_modules/ejs/lib/ejs.js:692:17)
    at tryHandleCache (/home/runner/AnimeEZ/node_modules/ejs/lib/ejs.js:272:36)
    at View.exports.renderFile [as engine] (/home/runner/AnimeEZ/node_modules/ejs/lib/ejs.js:489:10)
    at View.render (/home/runner/AnimeEZ/node_modules/express/lib/view.js:135:8)
    at tryRender (/home/runner/AnimeEZ/node_modules/express/lib/application.js:640:10)
    at Function.render (/home/runner/AnimeEZ/node_modules/express/lib/application.js:592:3)
    at ServerResponse.render (/home/runner/AnimeEZ/node_modules/express/lib/response.js:1017:7)
    at /home/runner/AnimeEZ/index.js:58:7
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Please fix!

dhvitOP commented 2 years ago

Done!

dhvitOP commented 2 years ago

let me know if there's any other error showing

adgsenpai commented 2 years ago

let me know if there's any other error showing

Thank you bro! Working super! I am going to try to work out your code and polish/remaster this beautiful application. We can make this one of the best anime applications on the market. We make it free and ad free.