2022-03-29 13:30:31 -04:00
|
|
|
{embed '../form.latte', path: '/settings/api', method: 'POST', submit: true}
|
2022-03-15 17:52:54 -04:00
|
|
|
{block fields}
|
2022-06-28 14:41:51 -04:00
|
|
|
{var $use_endpoints = \App\Helpers\Cookies::check('api-test_endpoints', 'yes')}
|
2022-03-11 14:50:11 -05:00
|
|
|
<div class="field">
|
2022-06-28 14:41:51 -04:00
|
|
|
<label class="label">Use test endpoints</label>
|
|
|
|
<div class="control">
|
|
|
|
<label class="radio">
|
|
|
|
<input type="radio" name="api-test_endpoints" value="yes" n:attr="checked => $use_endpoints" />
|
|
|
|
<span>Yes</span>
|
|
|
|
</label>
|
|
|
|
<label class="radio">
|
|
|
|
<input type="radio" name="api-test_endpoints" value="no" n:attr="checked => !$use_endpoints" />
|
|
|
|
<span>No</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<p class="help">This <i>may</i> help bypass rate limits</p>
|
2022-03-11 14:50:11 -05:00
|
|
|
</div>
|
2022-03-15 17:52:54 -04:00
|
|
|
{/block}
|
|
|
|
{/embed}
|