Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM がない場合に 環境変数で CM を外せるようにする。 #37

Open
Gaku-Kunimi opened this issue Nov 21, 2024 · 0 comments

Comments

@Gaku-Kunimi
Copy link

Gaku-Kunimi commented Nov 21, 2024

CM を外すには 現在のところ以下の2箇所(break-dk の場合)をいじる必要があるが、これを環境変数で設定できるようにしたい。

// CM スポンサーなしのためコメントアウト (下のshouldPlayAudioも編集が必要)
// <Page4 key={4} view={view} />,

// CM ありの場合
// const shouldPlayAudio = current !== pages.length - 1
// CM なしの場合
const shouldPlayAudio = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant