mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
35 lines
929 B
PHP
35 lines
929 B
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
* These are the credentials you got from https://dev.twitch.tv/console/apps
|
|
*/
|
|
'credentials' => [
|
|
'client_id' => env('TWITCH_CLIENT_ID', ''),
|
|
'client_secret' => env('TWITCH_CLIENT_SECRET', ''),
|
|
],
|
|
|
|
/*
|
|
* This package caches queries automatically (for 1 hour per default).
|
|
* Here you can set how long each query should be cached (in seconds).
|
|
*
|
|
* To turn cache off set this value to 0
|
|
*
|
|
* Recommended: 86400 (24 hours) for game data that rarely changes
|
|
*/
|
|
'cache_lifetime' => (int) env('IGDB_CACHE_LIFETIME', 86400),
|
|
|
|
/*
|
|
* Path where the webhooks should be handled.
|
|
*/
|
|
'webhook_path' => 'igdb-webhook/handle',
|
|
|
|
/*
|
|
* The webhook secret.
|
|
*
|
|
* This needs to be a string of your choice in order to use the webhook
|
|
* functionality.
|
|
*/
|
|
'webhook_secret' => env('IGDB_WEBHOOK_SECRET'),
|
|
];
|