From 5888b6b7d8d4c260b9451e06f762d3b5dc9026f8 Mon Sep 17 00:00:00 2001 From: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com> Date: Tue, 21 Jun 2022 17:51:07 +0800 Subject: [PATCH] Undo the hardcoded ad div id (#1719) I previously hardcoded both IDs since the script was not looking the right one at one point, but I guess that was unnecessary. I don't think it causes any problems, because I'm still just loading 1 script (no double video, just 2 divs for them to choose). Note that we are still using the `filepage` script since the `homepage` one is not working. --- web/component/ads/view.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/component/ads/view.jsx b/web/component/ads/view.jsx index fd731763c..9ff606ded 100644 --- a/web/component/ads/view.jsx +++ b/web/component/ads/view.jsx @@ -14,6 +14,7 @@ const AD_CONFIGS = Object.freeze({ ADNIMATION: { // url: 'https://tg1.aniview.com/api/adserver/spt?AV_TAGID=6252bb6f28951333ec10a7a6&AV_PUBLISHERID=601d9a7f2e688a79e17c1265', // tag: 'AV6252bb6f28951333ec10a7a6', + // ^-- supposed to use the above, but not working, so coded to use ADNIMATION_FILEPAGE url: 'https://tg1.aniview.com/api/adserver/spt?AV_TAGID=62558336037e0f3df07ff0a8&AV_PUBLISHERID=601d9a7f2e688a79e17c1265', tag: 'AV6252bb6f28951333ec10a7a6', }, @@ -126,9 +127,7 @@ function Ads(props: Props) { })} >