Switch to file-page ad until Adnim fixes the script

Also placed both tag ids in case one breaks again.
This commit is contained in:
infinite-persistence 2022-06-09 10:06:20 +08:00
parent e43a44abdd
commit e5bea1d0c4
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -12,7 +12,9 @@ import * as ICONS from 'constants/icons';
// prettier-ignore // prettier-ignore
const AD_CONFIGS = Object.freeze({ 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',
url: 'https://tg1.aniview.com/api/adserver/spt?AV_TAGID=62558336037e0f3df07ff0a8&AV_PUBLISHERID=601d9a7f2e688a79e17c1265',
tag: 'AV6252bb6f28951333ec10a7a6', tag: 'AV6252bb6f28951333ec10a7a6',
}, },
ADNIMATION_FILEPAGE: { ADNIMATION_FILEPAGE: {
@ -124,7 +126,9 @@ 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', {