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.
This commit is contained in:
parent
3e0f1c63c9
commit
5888b6b7d8
1 changed files with 2 additions and 3 deletions
|
@ -14,6 +14,7 @@ const AD_CONFIGS = Object.freeze({
|
||||||
ADNIMATION: {
|
ADNIMATION: {
|
||||||
// url: 'https://tg1.aniview.com/api/adserver/spt?AV_TAGID=6252bb6f28951333ec10a7a6&AV_PUBLISHERID=601d9a7f2e688a79e17c1265',
|
// url: 'https://tg1.aniview.com/api/adserver/spt?AV_TAGID=6252bb6f28951333ec10a7a6&AV_PUBLISHERID=601d9a7f2e688a79e17c1265',
|
||||||
// tag: 'AV6252bb6f28951333ec10a7a6',
|
// 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',
|
url: 'https://tg1.aniview.com/api/adserver/spt?AV_TAGID=62558336037e0f3df07ff0a8&AV_PUBLISHERID=601d9a7f2e688a79e17c1265',
|
||||||
tag: 'AV6252bb6f28951333ec10a7a6',
|
tag: 'AV6252bb6f28951333ec10a7a6',
|
||||||
},
|
},
|
||||||
|
@ -126,9 +127,7 @@ function Ads(props: Props) {
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<div className="ad__container">
|
<div className="ad__container">
|
||||||
{/* <div id={adConfig.tag} /> */}
|
<div id={adConfig.tag} />
|
||||||
<div id="AV6252bb6f28951333ec10a7a6" />
|
|
||||||
<div id="AV62558336037e0f3df07ff0a8" />
|
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={classnames('ads__claim-text', {
|
className={classnames('ads__claim-text', {
|
||||||
|
|
Loading…
Reference in a new issue